CommandGroup.IndexOf Method

Determines the index of the specified Command in the CommandGroup.

Namespace:  TcHmiSrv.Core
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public int IndexOf(
    Command item
)

Parameters

item

Type: TcHmiSrv.Core.Command
The Command to locate in the CommandGroup.

Return Value

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

Implements

IList.T..IndexOf(T)

Reference

CommandGroup Class

TcHmiSrv.Core Namespace