IInstanceCollection<T> Methods

The IInstanceCollection<T> type exposes the following members.

Methods

 

Name

Description

IInstanceCollection<T> Methods 1:

Add

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

IInstanceCollection<T> Methods 2:

Clear

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

IInstanceCollection<T> Methods 3:

Contains(T)

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

IInstanceCollection<T> Methods 4:

Contains(String)

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

IInstanceCollection<T> Methods 5:

ContainsName

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

IInstanceCollection<T> Methods 6:

CopyTo

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from ICollection<T>)

IInstanceCollection<T> Methods 7:

GetEnumerator

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

IInstanceCollection<T> Methods 8:

GetInstance

Gets the IInstanceby instance path.

IInstanceCollection<T> Methods 9:

GetInstanceByName

Gets the IInstance by instance name.

IInstanceCollection<T> Methods 10:

IndexOf

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

IInstanceCollection<T> Methods 11:

Insert

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

IInstanceCollection<T> Methods 12:

Remove

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

IInstanceCollection<T> Methods 13:

RemoveAt

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

IInstanceCollection<T> Methods 14:

TryGetInstance

Tries to get the specified instance.

IInstanceCollection<T> Methods 15:

TryGetInstanceByName

Tries to get the specified instance by name.

See Also

Reference

IInstanceCollection<T> Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026