HashSet(Of T).ICollection(Of T).IsReadOnly Property

 

Gets a value indicating whether a collection is read-only.

Namespace:   System.Collections.Generic
Assembly:  System.Core (in System.Core.dll)

Private ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of T).IsReadOnly

Property Value

Type: System.Boolean

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

Retrieving the value of this property is an O(1) operation.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: