Returns the index of the first occurrence of an element identified with the specified key.

Namespace: BlueCieloECM.InnoCielo.Meridian.Server
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public int IndexOf(
	string key
)
Visual Basic
Public Function IndexOf ( _
	key As String _
) As Integer
Visual C++
public:
int IndexOf(
	String^ key
)

Parameters

key
Type: System..::..String
The ID property value, or the Name property value, or the DisplayName property value of the element to get.

Return Value

The index of the first occurrence of an element within the entire collection, if found; otherwise, -1.

See Also