ReadOnlyListBaseT
ReadOnlyListBase<T> class
Provides the abstract base class for a strongly typed read-only list.
public abstract class ReadOnlyListBase<T> : IList, IList<T>
Parameter |
Description |
T |
The type of the element. |
Properties
Name |
Description |
virtual Count { get; } |
Gets the number of elements contained in the collection. |
virtual 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 |
virtual Contains(T) |
Determines whether the collection contains a specific item. |
virtual GetEnumerator() |
Returns an enumerator that iterates through a collection. |
virtual IndexOf(T) |
Determines the index of a specific item in the collection. |
See Also