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.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntax [ObsoleteAttribute("This method might be removed from future versions. Use the "IndexOf" method.")]
public int Index(
Object key
)
<ObsoleteAttribute("This method might be removed from future versions. Use the "IndexOf" method.")>
Public Function Index (
key As Object
) As Integer
public:
[ObsoleteAttribute(L"This method might be removed from future versions. Use the "IndexOf" method.")]
int Index(
Object^ key
)
[<ObsoleteAttribute("This method might be removed from future versions. Use the "IndexOf" method.")>]
member Index :
key : Object -> int
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