[]
Add an item to the collection.
public int Add(ListItem item)
Public Function Add(item As ListItem) As Integer
| Type | Name | Description |
|---|---|---|
| ListItem | item | The Object to add into the collection. |
| Type | Description |
|---|---|
| int | The index of the added item. |
Add a ListItem with the text to the collection.
public int Add(string text)
Public Function Add(text As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | text |
| Type | Description |
|---|---|
| int | The index of the added item. |