SynchronizedReadOnlyCollection<T> Properties

The SynchronizedReadOnlyCollection<T> type exposes the following members.

  Name Description
Public property Count Gets the number of elements contained in the thread-safe, read-only collection.
Public property Item Gets an element from the thread-safe, read-only collection with a specified index.
Protected property Items Gets the list of elements contained in the thread-safe, read-only collection.
Top

  Name Description
Explicit interface implemetation Private property ICollection<T>.IsReadOnly This property always returns true because the collection is read-only.
Explicit interface implemetation Private property ICollection.IsSynchronized This property always returns true because the collection is thread safe.
Explicit interface implemetation Private property ICollection.SyncRoot Gets the object used to synchronize access to the thread-safe, read-only collection.
Explicit interface implemetation Private property IList.IsFixedSize This property returns true because the read-only collection is always fixed in size.
Explicit interface implemetation Private property IList.IsReadOnly This property always returns true because the collection is read-only.
Explicit interface implemetation Private property IList<T>.Item Returns the object in the collection that has the specified index.
Explicit interface implemetation Private property IList.Item Gets the item at a specified zero-based index.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft