[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ListItemCollection.Add

Add Method

Add(ListItem)

Add an item to the collection.

Declaration
public int Add(ListItem item)
Public Function Add(item As ListItem) As Integer
Parameters
Type Name Description
ListItem item

The Object to add into the collection.

Returns
Type Description
int

The index of the added item.

Add(string)

Add a ListItem with the text to the collection.

Declaration
public int Add(string text)
Public Function Add(text As String) As Integer
Parameters
Type Name Description
string text

A string value that represents Text of ListItem.

Returns
Type Description
int

The index of the added item.