Foley .NET Utilities Class Library

ICollection2.IsReadOnly Property

When implemented by a class, gets a value indicating whether the collection is read-only.

[Visual Basic]
Property IsReadOnly As Boolean
[C#]
bool IsReadOnly {get;}

Property Value

true if the collection is read-only; otherwise, false. The default should be false.

Remarks

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

See Also

ICollection2 Interface | ICollection2 Members | Foley.Utilities.Collections Namespace