Mono Class Library: System.Collections.Generic.ICollection<T> Overview | Members

System.Collections.Generic.ICollection<T>.IsReadOnly Property

Indicates whether the current collection is read-only.

public bool IsReadOnly { get; }

Value

true, if the current collection is read-only; otherwise, false.

Remarks

This property is read-only.

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

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0