InstanceCollection.T. Methods

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

Methods

 

Name

Description

Add

Adds the specified item.

AddRange

Adds the specified items to this collection.

AsReadOnly

Converts the InstanceCollection.T. to an ReadOnlyInstanceCollection.T.

Clear

Clears this instance.

Contains(String)

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

Contains(T)

Determines whether this collection contains the specified IInstance

ContainsName

Determines whether the specified instance name contains name.

CopyTo

Copies this InstanceCollection.T. to the specified array.

Equals

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

Finalize

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

GetEnumerator

Gets the enumerator.

GetHashCode

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

GetInstance

Gets the IInstanceby instance path.

GetInstanceByName

Gets the name of the instance by.

GetType

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

IndexOf

Determines the index of the specified IInstance.

Insert

Inserts the specified IInstance at the specified index.

MemberwiseClone

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

Remove

Removes the specified item.

RemoveAt

Removes the IInstance at the specified index.

ToString

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

TryGetInstance

Tries to get the IInstance. of the specified path.

TryGetInstanceByName

Tries to get Instnaces by name.

Reference

InstanceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace