[]
Adds an element to the collection and returns its index.
public virtual int Add(object e)
Public Overridable Function Add(e As Object) As Integer
Type | Name | Description |
---|---|---|
object | e | Element object |
Type | Description |
---|---|
int | The collection index at which the value has been added. |
Adds an element to the collection and returns its index.
public virtual int Add(object e, bool noClone)
Public Overridable Function Add(e As Object, noClone As Boolean) As Integer
Type | Name | Description |
---|---|---|
object | e | Element object |
bool | noClone | Whether to add as is, no cloning |
Type | Description |
---|---|
int | The collection index at which the value has been added. |