IFieldCollection Methods

The IFieldCollection type exposes the following members.

Methods

 

Name

Description

IFieldCollection Methods 1:

Add

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

IFieldCollection Methods 2:

Clear

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

IFieldCollection Methods 3:

Contains(T)

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

IFieldCollection Methods 4:

Contains(String)

Determines whether this collection contains an instance with the specified instance path. (Inherited from IInstanceCollection.T..)

IFieldCollection Methods 5:

ContainsName

Determines whether this collection contains an instance with the specified instance name. (Inherited from IInstanceCollection.T..)

IFieldCollection Methods 6:

CopyTo

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

IFieldCollection Methods 7:

GetEnumerator

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

IFieldCollection Methods 8:

GetInstance

Gets the IInstanceby instance path. (Inherited from IInstanceCollection.T..)

IFieldCollection Methods 9:

GetInstanceByName

Gets the IInstance by instance name. (Inherited from IInstanceCollection.T..)

IFieldCollection Methods 10:

IndexOf

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

IFieldCollection Methods 11:

Insert

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

IFieldCollection Methods 12:

Remove

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

IFieldCollection Methods 13:

RemoveAt

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

IFieldCollection Methods 14:

TryGetInstance

Tries to get the specified instance. (Inherited from IInstanceCollection.T..)

IFieldCollection Methods 15:

TryGetInstanceByName

Tries to get the specified instance by name. (Inherited from IInstanceCollection.T..)

IFieldCollection Methods 16:

TryGetMember

Gets the Field/Member with the specified name from the collection.

Reference

IFieldCollection Interface

TwinCAT.TypeSystem Namespace