Export (0) Print
Expand All

ReadOnlyCollection<T> Properties

The ReadOnlyCollection<T> type exposes the following members.

  Name Description
Public property Count Gets the number of elements contained in the ReadOnlyCollection<T> instance.
Public property Item Gets the element at the specified index.
Protected property Items Returns the IList<T> that the ReadOnlyCollection<T> wraps.
Top

  Name Description
Explicit interface implemetation Private property ICollection<T>.IsReadOnly Gets a value indicating whether the ICollection<T> is read-only.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection.
Explicit interface implemetation Private property IList.IsFixedSize Gets a value indicating whether the IList has a fixed size.
Explicit interface implemetation Private property IList.IsReadOnly Gets a value indicating whether the IList is read-only.
Explicit interface implemetation Private property IList<T>.Item Gets the element at the specified index. An NotSupportedException occurs if you try to set the item at the specified index.
Explicit interface implemetation Private property IList.Item Gets the element at the specified index. A NotSupportedException occurs if you try to set the item at the specified index.
Top
Show:
© 2014 Microsoft