Determines the index of a specific item in the IList<(Of <(<'T>)>)>.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# |
|---|
public int IndexOf( T item ) |
| Visual Basic |
|---|
Public Function IndexOf ( item As T ) As Integer |
Parameters
- item
- Type: T
The object to locate in the IList<(Of <(<'T>)>)>.
Return Value
Type: Int32The index of item if found in the list; otherwise, -1.