InstanceCollection.T..IndexOf Method

Determines the index of the specified IInstance.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public int IndexOf(
    T item
)

VB

Public Function IndexOf ( 
    item As T
) As Integer

Parameters

item

Type: T
The item.

Return Value

Type: Int32
The index of item if found in the list; otherwise, -1.

Implements

IList.T..IndexOf(T)

Reference

InstanceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace