ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / C1.Win.C1SuperTooltip Namespace / ImageCollection Class / Add Method / Add(String,Image) Method
String used to retrieve the image from the collection.
System.Drawing.Image to add to the collection.

In This Topic
    Add(String,Image) Method
    In This Topic
    Adds an System.Drawing.Image to the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal key As System.String, _
       ByVal image As System.Drawing.Image _
    ) As System.Integer
    public System.int Add( 
       System.string key,
       System.Drawing.Image image
    )

    Parameters

    key
    String used to retrieve the image from the collection.
    image
    System.Drawing.Image to add to the collection.

    Return Value

    The index of the new entry in the collection.
    See Also