DataTypeCollection.T..IndexOf Method

Determines the Index of the specified IDataType.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public int IndexOf(
    T item
)

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

DataTypeCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace