MemberCollection Class

Collection of IMember objects.

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 MemberCollection : InstanceCollection<IMember>, 
    IMemberCollection, IInstanceCollection<IMember>, IList<IMember>, 
    ICollection<IMember>, IEnumerable<IMember>, IEnumerable

The MemberCollection type exposes the following members.

Constructors

 

Name

Description

MemberCollection Class 1:

MemberCollection.

Initializes a new instance of the MemberCollection class.

MemberCollection Class 2:

MemberCollection(IEnumerable.IMember.)

Initializes a new instance of the MemberCollection class (copy constructor)

Properties

 

Name

Description

MemberCollection Class 3:

Count

Gets the collection count. (Inherited from InstanceCollection.T..)

MemberCollection Class 4:

Empty

Returns an Empty Member Collection.

MemberCollection Class 5:

InnerList

Gets the LIst of instances. (Inherited from InstanceCollection.T..)

MemberCollection Class 6:

InnerPathDict

The Path dictionary (Inherited from InstanceCollection.T..)

MemberCollection Class 7:

Instances

Gets the Instance members (non static)

MemberCollection Class 8:

IsReadOnly

Gets a value indicating whether this instance is read only. (Inherited from InstanceCollection.T..)

MemberCollection Class 9:

Item.Int32.

Gets or sets the IInstance at the specified index. (Inherited from InstanceCollection.T..)

MemberCollection Class 10:

Item.String.

Gets the IInstance with the specified instance path. (Inherited from InstanceCollection.T..)

MemberCollection Class 11:

Mode

The mode this InstanceCollection.T. is working in. (Inherited from InstanceCollection.T..)

MemberCollection Class 12:

Statics

Gets the Static Members

Methods

 

Name

Description

MemberCollection Class 13:

Add

Adds the specified item. (Overrides InstanceCollection.T..Add(T).)

MemberCollection Class 14:

AddRange

Adds the specified items to this collection. (Inherited from InstanceCollection.T..)

MemberCollection Class 15:

AsReadOnly

Returns a read only copy of this collection (shallow copy)

MemberCollection Class 16:

CalcSize

Calculates the Byte Size of the IMemberCollection

MemberCollection Class 17:

Clear

Clears this instance. (Inherited from InstanceCollection.T..)

MemberCollection Class 18:

Clone

Clones this MemberCollection.

MemberCollection Class 19:

Contains(T)

Determines whether this collection contains the specified IInstance (Inherited from InstanceCollection.T..)

MemberCollection Class 20:

Contains(String)

Determines whether this collection contains an IInstance with the specified InstanceName / InstancePath (Inherited from InstanceCollection.T..)

MemberCollection Class 21:

ContainsName

Determines whether the specified instance name contains name. (Inherited from InstanceCollection.T..)

MemberCollection Class 22:

CopyTo

Copies this InstanceCollection.T. to the specified array. (Inherited from InstanceCollection.T..)

MemberCollection Class 23:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

MemberCollection Class 24:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

MemberCollection Class 25:

GetEnumerator

Gets the enumerator. (Inherited from InstanceCollection.T..)

MemberCollection Class 26:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

MemberCollection Class 27:

GetInstance

Gets the IInstanceby instance path. (Inherited from InstanceCollection.T..)

MemberCollection Class 28:

GetInstanceByName

Gets the name of the instance by. (Inherited from InstanceCollection.T..)

MemberCollection Class 29:

GetType

Gets the Type of the current instance. (Inherited from Object.)

MemberCollection Class 30:

IndexOf

Determines the index of the specified IInstance. (Inherited from InstanceCollection.T..)

MemberCollection Class 31:

Insert

Inserts the specified IInstance at the specified index. (Inherited from InstanceCollection.T..)

MemberCollection Class 32:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

MemberCollection Class 33:

Remove

Removes the specified item. (Inherited from InstanceCollection.T..)

MemberCollection Class 34:

RemoveAt

Removes the IInstance at the specified index. (Inherited from InstanceCollection.T..)

MemberCollection Class 35:

ToString

Returns a string that represents the current object. (Inherited from Object.)

MemberCollection Class 36:

TryGetInstance

Tries to get the IInstance. of the specified path. (Inherited from InstanceCollection.T..)

MemberCollection Class 37:

TryGetInstanceByName

Tries to get Instances by name. (Inherited from InstanceCollection.T..)

MemberCollection Class 38:

TryGetMember

Tries to get the specified member

Reference

TwinCAT.TypeSystem Namespace