Ribbon for WinForms | ComponentOne
C1.Win.C1SuperTooltip Namespace / ImageCollection Class / IndexOf Method / IndexOf(String) Method
String that identifies the ImageEntry.

In This Topic
    IndexOf(String) Method
    In This Topic
    Gets the index of the ImageEntry with a given key.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal key As String _
    ) As Integer
    public int IndexOf( 
       string key
    )

    Parameters

    key
    String that identifies the ImageEntry.

    Return Value

    The index of the ImageEntry in the collection, or -1 if the collection does not contain the key.
    Remarks
    The key parameter is not case-sensitive.
    See Also