IMemberCollection Methods

The IMemberCollection type exposes the following members.

Methods

 

Name

Description

IMemberCollection Methods 1:

Add

Adds an item to the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Methods 2:

CalcSize

Calculates the Byte Size of the IMemberCollection

IMemberCollection Methods 3:

Clear

Removes all items from the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Methods 4:

Contains(T)

Determines whether the ICollectionT contains a specific value.
(Inherited from ICollectionIMember)

IMemberCollection Methods 5:

Contains(String)

Determines whether this collection contains an instance with the specified instance path.
(Inherited from IInstanceCollectionT)

IMemberCollection Methods 6:

ContainsName

Determines whether this collection contains an instance with the specified instance name.
(Inherited from IInstanceCollectionT)

IMemberCollection Methods 7:

CopyTo

Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionIMember)

IMemberCollection Methods 8:

GetEnumerator

Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIMember)

IMemberCollection Methods 9:

GetInstance

Gets the IInstanceby instance path.
(Inherited from IInstanceCollectionT)

IMemberCollection Methods 10:

GetInstanceByName

Gets the IInstance by instance name.
(Inherited from IInstanceCollectionT)

IMemberCollection Methods 11:

IndexOf

Determines the index of a specific item in the IListT.
(Inherited from IListIMember)

IMemberCollection Methods 12:

Insert

Inserts an item to the IListT at the specified index.
(Inherited from IListIMember)

IMemberCollection Methods 13:

Remove

Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionIMember)

IMemberCollection Methods 14:

RemoveAt

Removes the IListT item at the specified index.
(Inherited from IListIMember)

IMemberCollection Methods 15:

TryGetInstance

Tries to get the specified instance.
(Inherited from IInstanceCollectionT)

IMemberCollection Methods 16:

TryGetInstanceByName

Tries to get the specified instance by name.
(Inherited from IInstanceCollectionT)

IMemberCollection Methods 17:

TryGetMember

Gets the member with the specified name from the collection.

Reference

IMemberCollection Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026