ReadOnlyCollection<T> Properties
.NET Framework 4
The ReadOnlyCollection<T> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Count | Gets the number of elements contained in the ReadOnlyCollection<T> instance. |
|
Item | Gets the element at the specified index. |
|
Items | Returns the IList<T> that the ReadOnlyCollection<T> wraps. |
| Name | Description | |
|---|---|---|
|
ICollection<T>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |
|
ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
|
IList.IsFixedSize | Gets a value indicating whether the IList has a fixed size. |
|
IList.IsReadOnly | Gets a value indicating whether the IList is read-only. |
|
IList<T>.Item | Gets or sets the element at the specified index. |
|
IList.Item | Gets or sets the element at the specified index. |