Determines the index of a specific item in the list.

Namespace: SchemaExplorer
Assembly: SchemaExplorer (in SchemaExplorer.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public int IndexOf(
	string name
)
Visual Basic
Public Function IndexOf ( 
	name As String
) As Integer

Parameters

name
Type: System..::..String
The name of the item to locate in the list.

Return Value

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

See Also