IInstanceCollection.T. Methods

The IInstanceCollection.T. generic type exposes the following members.

Methods

 

Name

Description

Add

Adds an item to the ICollection.T.. (Inherited from ICollection.T..)

Clear

Removes all items from the ICollection.T.. (Inherited from ICollection.T..)

Contains(T)

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

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 ICollection.T. to an Array, starting at a particular Array index. (Inherited from ICollection.T..)

GetEnumerator

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

GetInstance

Gets the IInstanceby instance path.

GetInstanceByName

Gets the IInstance by instance name.

IndexOf

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

Insert

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

Remove

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

RemoveAt

Removes the IList.T. item at the specified index. (Inherited from IList.T..)

TryGetInstance

Tries to get the specified instance.

TryGetInstanceByName

Tries to get the specified instance by name.

Reference

IInstanceCollection.T. Interface

TwinCAT.TypeSystem.Generic Namespace