InputPanel for WinForms | ComponentOne
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 String, _
       ByVal image As Image _
    ) As Integer
    public int Add( 
       string key,
       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