ConcurrentDictionary<TKey, TValue>.IDictionary.IsReadOnly Property

.NET Framework (current version)

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

Gets a value indicating whether the System.Collections.Generic.IDictionary<TKey, TValue> is read-only.

Namespace:   System.Collections.Concurrent
Assembly:  mscorlib (in mscorlib.dll)

bool IDictionary.IsReadOnly { get; }

Property Value

Type: System.Boolean

true if the IDictionary<TKey, TValue> is read-only; otherwise, false. For System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue>, this property always returns false.

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