[]
Represents a collection of elements.
public class Elements : ICollection, IEnumerable
Public Class Elements
Implements ICollection, IEnumerable
| Name | Description |
|---|---|
| Elements() | Creates a collection of elements. |
| Name | Description |
|---|---|
| elementNotifyList | Array list of element notify |
| items | Array list of items |
| Name | Description |
|---|---|
| Count | Gets the number of elements in the collection. |
| this[int] | Gets the element at the specified index within the collection. |
| Name | Description |
|---|---|
| Add(object) | Adds an element to the collection and returns its index. |
| Add(object, bool) | Adds an element to the collection and returns its index. |
| Clear() | Removes all the elements from the collection. |
| Contains(object) | Gets whether an element is in the collection. |
| Find(string) | Finds an element in the collection that matches the specified name. |
| FindByType(Type, string) | Finds an element in the collection that matches the specified type and name. |
| GetEnumerator() | Returns the array list of elements. |
| GetEnumerator(int, int) | Returns the index and number of the array list of elements. |
| IndexOf(object) | Get the index of an element in the collection. |
| Insert(int, object) | Inserts an element to the collection at the specified index. |
| Insert(int, object, bool) | Inserts an element to the collection at the specified index. |
| Remove(object) | Removes the specified element from the collection. |
| RemoveAt(int) | Removes the specified element (by index) from the collection. |
| RemoveByName(string) | Removes the specified element (by name) from the collection. |
| Replace(object, object) | Replaces an existing element with a new one. |
| ReplaceAt(int, object) | Replaces an existing element index with a new one. |
| Name | Description |
|---|---|
| ElementAddNotify | Occurs when an element is added. |
| ElementDeletingNotify | Occurs when an element is deleted. |