Spread Windows Forms 14.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / CustomIconContainer Class / InsertIcon Method
Index at which to insert the icon object
Name of the icon object
The icon object


In This Topic
    InsertIcon Method
    In This Topic
    Inserts an icon object into a container with the specified name at a specified index.
    Syntax
    'Declaration
     
    
    Public Sub InsertIcon( _
       ByVal index As Integer, _
       ByVal name As String, _
       ByVal icon As Icon _
    ) 
    'Usage
     
    
    Dim instance As CustomIconContainer
    Dim index As Integer
    Dim name As String
    Dim icon As Icon
     
    instance.InsertIcon(index, name, icon)
    public void InsertIcon( 
       int index,
       string name,
       Icon icon
    )

    Parameters

    index
    Index at which to insert the icon object
    name
    Name of the icon object
    icon
    The icon object
    See Also