Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ItemTemplateCollection Class / Add Method
The ItemTemplate object to add into the collection.


In This Topic
    Add Method (ItemTemplateCollection)
    In This Topic
    Adds an item to the collection.
    Syntax
    'Declaration
     
    
    Public Function Add( _
       ByVal item As ItemTemplate _
    ) As Integer
    'Usage
     
    
    Dim instance As ItemTemplateCollection
    Dim item As ItemTemplate
    Dim value As Integer
     
    value = instance.Add(item)
    public int Add( 
       ItemTemplate item
    )

    Parameters

    item
    The ItemTemplate object to add into the collection.

    Return Value

    The index of the added item.
    See Also