ReadOnlyCollectionBuilder<T>::ICollection<T>::IsReadOnly Property

 

Gets a value indicating whether the ICollection<T> is read-only.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

private:
property bool IsReadOnly {
	virtual bool get() sealed = ICollection<T>::IsReadOnly::get;
}

Property Value

Type: System::Boolean

true if the ICollection<T> is read-only; otherwise, false.

A collection that is read-only does not allow the addition, removal, or modification of elements after the collection is created.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: