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: 1.4.0.0 (1.4.53.0)
[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 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
<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
)
public:
[ObsoleteAttribute(L"This method might be removed from future versions. Use the "IndexOf" method.")]
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.
This method might be removed from future versions.
Use the
IndexOf(String) method.