IReadOnlyCollection(T) members

IReadOnlyCollection<T> members

Defines properties and methods that handle read-only collections.

The IReadOnlyCollection<T> type exposes the following members.

  Name Description
Public property Count Gets the number of items in the collection.
Public property Item Gets the item at a specified index.

  Name Description
Public method Contains Determines whether the collection contains a specific item.
Public method CopyTo Copies the items of the collection to an array starting at a specified index.
Public method GetEnumerator (Inherited from IEnumerable.)
© 2015 Microsoft