Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItemCollectionInfo Class / Add Method / Add(String) Method
A System.String value that represents ListItemInfo.Text of ListItemInfo.


In This Topic
    Add(String) Method
    In This Topic
    Adds a ListItemInfo object with the text to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal text As String _
    ) As Integer
    'Usage
     
    
    Dim instance As ListItemCollectionInfo
    Dim text As String
    Dim value As Integer
     
    value = instance.Add(text)
    public int Add( 
       string text
    )

    Parameters

    text
    A System.String value that represents ListItemInfo.Text of ListItemInfo.

    Return Value

    The index of the added item.
    See Also