InstanceCollectionTIndexOf Method

Determines the index of the specified IInstance.


Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public int IndexOf(
    T item
)

Parameters

item  T

The item.

Return Value

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

Implements

IListTIndexOf(T)

Reference

InstanceCollectionT Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026