ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / ImmutableKeyedCollectionBase Class / IndexOfKey Method
The key of the interested item.

In This Topic
    IndexOfKey Method (ImmutableKeyedCollectionBase)
    In This Topic
    Gets and index of an item with the specified key.
    Syntax
    'Declaration
     
    Public Function IndexOfKey( _
       ByVal key As System.String _
    ) As System.Integer
    public System.int IndexOfKey( 
       System.string key
    )

    Parameters

    key
    The key of the interested item.

    Return Value

    The index of the item with the specified key if such item exists; otherwise, -1.
    See Also