RpcMethodCollection.IndexOf Method

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

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

Syntax

C#

public int IndexOf(
    IRpcMethod item
)

VB

Public Function IndexOf ( 
    item As IRpcMethod
) As Integer

Parameters

item

Type: TwinCAT.TypeSystem.IRpcMethod
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)

Reference

RpcMethodCollection Class

TwinCAT.TypeSystem Namespace