InstanceCollection<T> Methods

The InstanceCollection<T> type exposes the following members.

Methods

 

Name

Description

InstanceCollection<T> Methods 1:

Add

Adds the specified item.

InstanceCollection<T> Methods 2:

AddRange

Adds the specified items to this collection.

InstanceCollection<T> Methods 3:

AsReadOnly

Converts the InstanceCollection<T> to an ReadOnlyInstanceCollection<T>

InstanceCollection<T> Methods 4:

Clear

Clears this instance.

InstanceCollection<T> Methods 5:

Contains(T)

Determines whether this collection contains the specified IInstance

InstanceCollection<T> Methods 6:

Contains(String)

Determines whether this collection contains an IInstance with the specified InstanceName / InstancePath

InstanceCollection<T> Methods 7:

ContainsName

Determines whether the specified instance name contains name.

InstanceCollection<T> Methods 8:

CopyTo

Copies this InstanceCollection<T> to the specified array.

InstanceCollection<T> Methods 9:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

InstanceCollection<T> Methods 10:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

InstanceCollection<T> Methods 11:

GetEnumerator

Gets the enumerator.

InstanceCollection<T> Methods 12:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

InstanceCollection<T> Methods 13:

GetInstance

Gets the IInstanceby instance path.

InstanceCollection<T> Methods 14:

GetInstanceByName

Gets the name of the instance by.

InstanceCollection<T> Methods 15:

GetType

Gets the Type of the current instance.
(Inherited from Object)

InstanceCollection<T> Methods 16:

IndexOf

Determines the index of the specified IInstance.

InstanceCollection<T> Methods 17:

Insert

Inserts the specified IInstance at the specified index.

InstanceCollection<T> Methods 18:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

InstanceCollection<T> Methods 19:

Remove

Removes the specified item.

InstanceCollection<T> Methods 20:

RemoveAt

Removes the IInstance at the specified index.

InstanceCollection<T> Methods 21:

ToString

Returns a string that represents the current object.
(Inherited from Object)

InstanceCollection<T> Methods 22:

TryGetInstance

Tries to get the IInstance. of the specified path.

InstanceCollection<T> Methods 23:

TryGetInstanceByName

Tries to get Instances by name.

See Also

Reference

InstanceCollection<T> Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026