DimensionCollection.IndexOf Method

Determines the index of a specific item in the IList.T..

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

Syntax

C#

public int IndexOf(
    IDimension item
)

Parameters

item

Type: TwinCAT.TypeSystem.IDimension
The object to locate in the IList.T..

Return Value

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

Implements

IList.T..IndexOf(T)

Exceptions

Exception

Condition

NotImplementedException

Reference

DimensionCollection Class

TwinCAT.TypeSystem Namespace