Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItemCollection Class / Add Method / Add(String) Method
A System.String value that represents Text of ListItem.


In This Topic
Add(String) Method
In This Topic
Add a ListItem with the text to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal text As String _
) As Integer
 
'Usage
 
Dim instance As ListItemCollection
Dim text As String
Dim value As Integer
 
value = instance.Add(text)

Parameters

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

Return Value

The index of the added item.
See Also