RemoveOnlyListBaseT
RemoveOnlyListBase<T> class
Provides the abstract base class for a strongly typed remove-only list.
public abstract class RemoveOnlyListBase<T> : ReadOnlyListBase<T>
| Parameter |
Description |
| T |
The type of the element. |
Properties
| Name |
Description |
| virtual Count { get; } |
Gets the number of elements contained in the collection. |
| override IsReadOnly { get; } |
Gets a value indicating whether the collection is read-only. |
| virtual Item { get; } |
Gets the element at the specified index in the collection. |
Methods
| Name |
Description |
| Clear() |
Removes all items from the collection. |
| virtual Contains(T) |
|
| virtual GetEnumerator() |
|
| virtual IndexOf(T) |
|
| Remove(T) |
Removes the first occurrence of a specific object from the collection. |
| RemoveAt(int) |
Removes the item at the specified index. |
See Also