MemberCollection Class

Collection of IMember objects.

Inheritance Hierarchy

SystemObject
  TwinCAT.TypeSystem.GenericInstanceCollectionIMember
    TwinCAT.TypeSystemMemberCollection
      TwinCAT.TypeSystemAlignedMemberCollection

Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

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(IEnumerableIMember)

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

Properties

 

Name

Description

MemberCollection Class 3:

Count

Gets the collection count.
(Inherited from InstanceCollectionT)

MemberCollection Class 4:

Empty

Returns an Empty Member Collection.

MemberCollection Class 5:

InnerList

Gets the LIst of instances.
(Inherited from InstanceCollectionT)

MemberCollection Class 6:

InnerPathDict

The Path dictionary
(Inherited from InstanceCollectionT)

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 InstanceCollectionT)

MemberCollection Class 9:

ItemInt32

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

MemberCollection Class 10:

ItemString

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

MemberCollection Class 11:

Mode

The mode this InstanceCollectionT is working in.
(Inherited from InstanceCollectionT)

MemberCollection Class 12:

Statics

Gets the Static Members

Methods

 

Name

Description

MemberCollection Class 13:

Add

Adds the specified item.
(Overrides InstanceCollectionTAdd(T))

MemberCollection Class 14:

AddRange

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

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 InstanceCollectionT)

MemberCollection Class 18:

Clone

Clones this MemberCollection.

MemberCollection Class 19:

Contains(T)

Determines whether this collection contains the specified IInstance
(Inherited from InstanceCollectionT)

MemberCollection Class 20:

Contains(String)

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

MemberCollection Class 21:

ContainsName

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

MemberCollection Class 22:

CopyTo

Copies this InstanceCollectionT to the specified array.
(Inherited from InstanceCollectionT)

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 InstanceCollectionT)

MemberCollection Class 26:

GetHashCode

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

MemberCollection Class 27:

GetInstance

Gets the IInstanceby instance path.
(Inherited from InstanceCollectionT)

MemberCollection Class 28:

GetInstanceByName

Gets the name of the instance by.
(Inherited from InstanceCollectionT)

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 InstanceCollectionT)

MemberCollection Class 31:

Insert

Inserts the specified IInstance at the specified index.
(Inherited from InstanceCollectionT)

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 InstanceCollectionT)

MemberCollection Class 34:

RemoveAt

Removes the IInstance at the specified index.
(Inherited from InstanceCollectionT)

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 InstanceCollectionT)

MemberCollection Class 37:

TryGetInstanceByName

Tries to get Instances by name.
(Inherited from InstanceCollectionT)

MemberCollection Class 38:

TryGetMember

Tries to get the specified member

Reference

TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026