Represents a read-only wrapper of a collection.
The following tables list the members exposed by the ReadOnlyCollection(T) type.
Name | Description | |
---|---|---|
Initializes a new instance of the ReadonlyCollection class. |
Name | Description | |
---|---|---|
Gets the number of elements contained in the collection. |
||
Gets a value indicating whether the access to the collection is synchronized. |
||
Gets an object that can be used to synchronize access to the collection. |
Name | Description | |
---|---|---|
Copies a range of elements from this collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. |
||
Returns an enumerator that can iterate through the collection. |