Search
ReadOnlyCollection(T) Members
Constructors Properties Methods
 


Represents a read-only wrapper of a collection.

The following tables list the members exposed by the ReadOnlyCollection(T) type.

 Public Constructors

  Name Description

ReadOnlyCollection

Initializes a new instance of the ReadonlyCollection class.

 Public Properties

  Name Description

Count

Gets the number of elements contained in the collection.

IsSynchronized

Gets a value indicating whether the access to the collection is synchronized.

SyncRoot

Gets an object that can be used to synchronize access to the collection.

 Public Methods

  Name Description

CopyTo

Copies a range of elements from this collection to a compatible one-dimensional System.Array, starting at the specified index of the target array.

GetEnumerator

Returns an enumerator that iterates through the collection.

 See Also