IReadOnlyListT
IReadOnlyList<T> interface
Represents a read-only collection of elements that can be accessed by index.
public interface IReadOnlyList<T> : IEnumerable<T>
| Parameter |
Description |
| T |
The type of elements in the read-only list. |
Properties
| Name |
Description |
| Count { get; } |
Gets the number of elements contained in the collection. |
| Item { get; } |
Gets the element at the specified index in the read-only list. |
Methods
| Name |
Description |
| Contains(T) |
Determines whether the collection contains a specific item. |
| Contains(TagCategory) |
Determines whether the collection contains a TagCategory item. |
| IndexOf(T) |
Determines the index of a specific item in the collection. |
See Also