Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ButtonTextCollectionInfo Class / Add Method / Add(String,String) Method
The key value of the button.
The button text string.


In This Topic
    Add(String,String) Method
    In This Topic
    Add an item to the ButtonTextCollectionInfo.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal key As String, _
       ByVal value As String _
    ) As Integer
    'Usage
     
    
    Dim instance As ButtonTextCollectionInfo
    Dim key As String
    Dim value As String
    Dim value As Integer
     
    value = instance.Add(key, value)
    public int Add( 
       string key,
       string value
    )

    Parameters

    key
    The key value of the button.
    value
    The button text string.

    Return Value

    The item index.
    See Also