[]
Adds an item to the collection.
public int Add(ListItemInfo item)
Public Function Add(item As ListItemInfo) As Integer
| Type | Name | Description |
|---|---|---|
| ListItemInfo | item | The object to add into the collection. |
| Type | Description |
|---|---|
| int | The index of the added item. |
Adds a ListItemInfo object with the text to the collection.
public int Add(string text)
Public Function Add(text As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | text | A string value that represents Text of ListItemInfo. |
| Type | Description |
|---|---|
| int | The index of the added item. |