ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / 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 System.String _
    ) As System.Integer
    public System.int IndexOf( 
       System.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