Defines a collection that raises events to notify when elements are added to or removed from it.
The following tables list the members exposed by the CollectionBase(T, E) type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() |
An ItemEventArgs instance used for passing arguments to the event handlers for the events of this collection. Used to avoid creating many small objects that would burden the garbage collector. |
|
![]() |
If enabled, the collection raises events to let their containing objects handle the addition or removal of items. |
Name | Description | |
---|---|---|
![]() |
Gets the number of items contained in the collection. |
|
![]() |
Gets a value indicating whether the collection is read-only. |
|
![]() |
An indexer that lets you access the element at the specified position. |
Name | Description | |
---|---|---|
![]() |
Adds an item to the collection. |
|
![]() |
Removes all items from the collection. |
|
![]() |
Determines whether an element is in the List(T). |
|
![]() |
|
|
![]() |
Returns an enumerator for this collection. |
|
![]() |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection. |
|
![]() |
Inserts an element into the Collection at the specified index. |
|
![]() |
Removes the first occurrence of a specific object from the collection. |
|
![]() |
Removes the element at the specified index of the collection. |
Name | Description | |
---|---|---|
![]() |
Raises the Adding event. |
|
![]() |
Raises the Inserting event. |
|
![]() |
Raises the Removing event. |