ReadOnlyCollectionBuilder<T>.ICollection<T>.IsReadOnly Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

bool 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: