ConcurrentDictionary<TKey,TValue>.IDictionary.IsReadOnly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the IDictionary<TKey,TValue> is read-only.
property bool System::Collections::IDictionary::IsReadOnly { bool get(); };
bool System.Collections.IDictionary.IsReadOnly { get; }
member this.System.Collections.IDictionary.IsReadOnly : bool
ReadOnly Property IsReadOnly As Boolean Implements IDictionary.IsReadOnly
Property Value
true
if the IDictionary<TKey,TValue> is read-only; otherwise, false
. For ConcurrentDictionary<TKey,TValue>, this property always returns false
.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ConcurrentDictionary<TKey,TValue> instance is cast to an IDictionary interface.