Method | Description | |
---|---|---|
Add ( this collection, object item ) : void |
Adds an item to the collection.
|
|
CanInsert ( this collection, object item ) : bool |
Returns a value Indicating whether an item can be inserted in a collection.
|
|
Count ( this collection ) : int |
Gets the number of items in the collection.
|
|
Insert ( this collection, int index, object item ) : void |
Inserts an item into the collection at an index.
|
|
IsReadOnly ( this collection ) : bool |
Returns a value indicating whether a collection is read-only.
|
|
Remove ( this collection, object item ) : void |
Removes an item from the collection.
|
Method | Description | |
---|---|---|
RemoveAt ( this collection, int index ) : void |
public static Add ( this collection, object item ) : void | ||
collection | this | The collection. |
item | object | The item to be added. |
return | void |
public static CanInsert ( this collection, object item ) : bool | ||
collection | this | The collection. |
item | object | The item to be inserted. |
return | bool |
public static Count ( this collection ) : int | ||
collection | this | The collection. |
return | int |
public static Insert ( this collection, int index, object item ) : void | ||
collection | this | The collection. |
index | int | The index at which to insert the item. |
item | object | The item to be inserted. |
return | void |
public static IsReadOnly ( this collection ) : bool | ||
collection | this | The collection to examine. |
return | bool |
public static Remove ( this collection, object item ) : void | ||
collection | this | The collection. |
item | object | The item to be removed. |
return | void |