Click or drag to resize

BCCollectionBaseIndex Method

Note: This API is now obsolete.

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: 4.0.0.0 (4.0.111.0)
Syntax
[ObsoleteAttribute("This method might be removed from future versions. Use the "IndexOf" method.")]
public int Index(
	Object key
)

Parameters

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

Return Value

Type: Int32
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