Returns the index of the first occurrence of an element identified with 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 key to locate in the collection: either the user work list (if collection of BCUser objects) or the name of group (if collection of BCUserGroup objects) to get.

Return Value

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

See Also