AlignedMemberCollection Class
Class AlignedMemberCollection. Implements the MemberCollection
Inheritance Hierarchy
System.Object
TwinCAT.TypeSystem.Generic.InstanceCollection.IMember.
TwinCAT.TypeSystem.MemberCollection
TwinCAT.TypeSystem.AlignedMemberCollection
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class AlignedMemberCollection : MemberCollection
The AlignedMemberCollection type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the AlignedMemberCollection class. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the collection count. (Inherited from InstanceCollection.T..) | |
|
Returns an Empty Member Collection. | |
|
Gets the LIst of instances. (Inherited from InstanceCollection.T..) | |
|
The Path dictionary (Inherited from InstanceCollection.T..) | |
|
Gets the Instance members (non static) (Inherited from MemberCollection.) | |
|
Gets a value indicating whether this instance is read only. (Inherited from InstanceCollection.T..) | |
|
Gets or sets the IInstance at the specified index. (Inherited from InstanceCollection.T..) | |
|
Gets the IInstance with the specified instance path. (Inherited from InstanceCollection.T..) | |
|
The mode this InstanceCollection.T. is working in. (Inherited from InstanceCollection.T..) | |
|
Gets the Static Members (Inherited from MemberCollection.) |
Methods
|
Name |
Description |
---|---|---|
|
Adds the specified item. (Overrides MemberCollection.Add(IMember).) | |
|
Adds the specified items to this collection. (Inherited from InstanceCollection.T..) | |
|
Returns a read only copy of this collection (shallow copy) (Inherited from MemberCollection.) | |
|
Calculates the Byte Size of the IMemberCollection (Inherited from MemberCollection.) | |
|
Clears this instance. (Inherited from InstanceCollection.T..) | |
|
Clones this MemberCollection. (Inherited from MemberCollection.) | |
|
Determines whether this collection contains the specified IInstance (Inherited from InstanceCollection.T..) | |
|
Determines whether this collection contains an IInstance with the specified InstanceName / InstancePath (Inherited from InstanceCollection.T..) | |
|
Determines whether the specified instance name contains name. (Inherited from InstanceCollection.T..) | |
|
Copies this InstanceCollection.T. to the specified array. (Inherited from InstanceCollection.T..) | |
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Gets the enumerator. (Inherited from InstanceCollection.T..) | |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
|
Gets the IInstanceby instance path. (Inherited from InstanceCollection.T..) | |
|
Gets the name of the instance by. (Inherited from InstanceCollection.T..) | |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
Determines the index of the specified IInstance. (Inherited from InstanceCollection.T..) | |
|
Inserts the specified IInstance at the specified index. (Overrides InstanceCollection.T..Insert(Int32, T).) | |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Removes the specified item. (Inherited from InstanceCollection.T..) | |
|
Removes the IInstance at the specified index. (Overrides InstanceCollection.T..RemoveAt(Int32).) | |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
Tries to get the IInstance. of the specified path. (Inherited from InstanceCollection.T..) | |
|
Tries to get Instances by name. (Inherited from InstanceCollection.T..) | |
|
Tries to get the specified member (Inherited from MemberCollection.) |
Extension Methods
|
Name |
Description |
---|---|---|
|
Adds a member to the StructType (Defined by FluentAlignedMemberCollectionExtension.) |
Remarks
The AlignedMemberCollection calculates its member offsets by itself. Dependant on the pack mode