ICollection<T>.IsReadOnly Property

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

Namespace: Spring.Collections
public
 property IsReadOnly: Boolean read GetIsReadOnly;

Property Value

Type: 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.