IInstanceCollectionT Methods

The IInstanceCollectionT type exposes the following members.

Methods

 

Name

Description

Add

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

Clear

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

Contains(T)

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

Contains(String)

Determines whether this collection contains an instance with the specified instance path.

ContainsName

Determines whether this collection contains an instance with the specified instance name.

CopyTo

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

GetEnumerator

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

GetInstance

Gets the IInstanceby instance path.

GetInstanceByName

Gets the IInstance by instance name.

IndexOf

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

Insert

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

Remove

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

RemoveAt

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

TryGetInstance

Tries to get the specified instance.

TryGetInstanceByName

Tries to get the specified instance by name.

Reference

IInstanceCollectionT Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026