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#
[ObsoleteAttribute("This method might be removed from future versions. Use the "IndexOf" method.")]
public int Index(
	Object key
)
Visual Basic
<ObsoleteAttribute("This method might be removed from future versions. Use the "IndexOf" method.")> _
Public Function Index ( _
	key As Object _
) As Integer
Visual C++
[ObsoleteAttribute(L"This method might be removed from future versions. Use the "IndexOf" method.")]
public:
int Index(
	Object^ key
)

Parameters

key
Type: System..::..Object
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, the KeyNotFoundException exception is thrown.

Remarks

This method might be removed from future versions. Use the IndexOf(String) method.

See Also