IFieldCollection Methods

The IFieldCollection type exposes the following members.

Methods

 

Name

Description

IFieldCollection Methods 1:

Add

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

IFieldCollection Methods 2:

Clear

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

IFieldCollection Methods 3:

Contains(T)

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

IFieldCollection Methods 4:

Contains(String)

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

IFieldCollection Methods 5:

ContainsName

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

IFieldCollection Methods 6:

CopyTo

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

IFieldCollection Methods 7:

GetEnumerator

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

IFieldCollection Methods 8:

GetInstance

Gets the IInstanceby instance path.
(Inherited from IInstanceCollectionT)

IFieldCollection Methods 9:

GetInstanceByName

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

IFieldCollection Methods 10:

IndexOf

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

IFieldCollection Methods 11:

Insert

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

IFieldCollection Methods 12:

Remove

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

IFieldCollection Methods 13:

RemoveAt

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

IFieldCollection Methods 14:

TryGetInstance

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

IFieldCollection Methods 15:

TryGetInstanceByName

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

IFieldCollection Methods 16:

TryGetMember

Gets the Field/Member with the specified name from the collection.

Reference

IFieldCollection Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026