NamespaceCollectionTIndexOf Method

Determines the index of a specific item in the IListT.


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

Syntax

C#

public int IndexOf(
    INamespace<T> item
)

Parameters

item  INamespaceT

The object to locate in the IListT.

Return Value

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

Implements

IListTIndexOf(T)

Reference

NamespaceCollectionT Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026