[]
Represents a CollectionBase class, which is a base class.
[ListBindable(false)]
public class CollectionBase<T> : CollectionBase, IList, ICollection, IEnumerable
<ListBindable(False)>
Public Class CollectionBase(Of T)
Inherits CollectionBase
Implements IList, ICollection, IEnumerable
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| CollectionBase() | Initializes a new instance of the CollectionBase<T> class. |
| CollectionBase(CollectionBase<T>) | Initializes a new instance of the CollectionEx |
| CollectionBase(T[]) | Initializes a new instance of the CollectionEx |
| Name | Description |
|---|---|
| this[int] | Gets or sets the |
| Name | Description |
|---|---|
| Add(T) | Adds the specified |
| AddRange(CollectionBase<T>) | Adds the contents of another CollectionEx |
| AddRange(IList<T>) | Adds the contents of another IList |
| AddRange(T[]) | Copies the elements of the specified array to the end of the collection. |
| Contains(T) | Gets a value that indicates whether the collection contains the specified |
| CopyTo(T[], int) | Copies the collection objects to a one-dimensional Array instance beginning at the specified index. |
| DefaultPredicate<TTarget>(TTarget) | Represents a default predicate. |
| Exists<TTarget>() | Determines whether the List<T> contains elements that match the conditions defined by the specified predicate. |
| Exists<TTarget>(Predicate<TTarget>) | Determines whether the List<T> contains elements that match the conditions defined by the specified predicate. |
| FindAll<TTarget>() | Retrieves all the |
| FindAll<TTarget>(Predicate<TTarget>) | Retrieves all the |
| FindIndex<TTarget>() | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<T>. |
| FindIndex<TTarget>(int, int, Predicate<TTarget>) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<T> that starts at the specified index and contains the specified number of elements. |
| FindIndex<TTarget>(int, Predicate<TTarget>) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<T> that extends from the specified index to the last element. |
| FindIndex<TTarget>(Predicate<TTarget>) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<T>. |
| FindLastIndex<TTarget>() | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List<T>. |
| FindLastIndex<TTarget>(int, int, Predicate<TTarget>) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<T> that contains the specified number of elements and ends at the specified index. |
| FindLastIndex<TTarget>(int, Predicate<TTarget>) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<T> that extends from the first element to the specified index. |
| FindLastIndex<TTarget>(Predicate<TTarget>) | Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List<T>. |
| FindLast<TTarget>() | Searches for an |
| FindLast<TTarget>(Predicate<TTarget>) | Searches for an |
| Find<TTarget>() | Searches for a |
| Find<TTarget>(Predicate<TTarget>) | Searches for a |
| IndexOf(T) | Gets the index in the collection of the specified |
| InnerAddRange(object[]) | Copies the elements of the specified array to the end of the collection. |
| Insert(int, T) | Inserts the specified |
| OnAddRange(object[]) | Performs additional custom processes before inserting a new element array into the CollectionBase instance. |
| OnAddRangeComplete(object[]) | Performs additional custom processes after inserting a new element array into the CollectionBase instance. |
| OnClear() | Performs additional custom processes when clearing the contents of the CollectionBase instance. |
| OnClearComplete() | Performs additional custom processes after clearing the contents of the CollectionBase instance. |
| OnCollectionChanged(CollectionChangeEventArgs) | Raises the CollectionChanged event. |
| OnCollectionChanging(CollectionChangeEventArgs) | Raises the CollectionChanging event. |
| OnInsert(int, object) | Performs additional custom processes before inserting a new element into the CollectionBase instance. |
| OnInsertComplete(int, object) | Performs additional custom processes after inserting a new element into the CollectionBase instance. |
| OnRemove(int, object) | Performs additional custom processes when removing an element from the CollectionBase instance. |
| OnRemoveComplete(int, object) | Performs additional custom processes after removing an element from the CollectionBase instance. |
| OnSet(int, object, object) | Performs additional custom processes before setting a value in the CollectionBase instance. |
| OnSetComplete(int, object, object) | Performs additional custom processes after setting a value in the CollectionBase instance. |
| OnValidate(object) | Performs additional custom processes when validating a value. |
| Remove(T) | Removes the specified |
| Name | Description |
|---|---|
| CollectionChanged | A CollectionChangeEventHandler object that indicates the handler of the CollectionChanged event. |
| CollectionChanging | A CollectionChangeEventHandler object that indicates the handler of CollectionChanging event. |