Bewerken

Share via


ConcurrentDictionary<TKey,TValue>.IDictionary.IsReadOnly Property

Definition

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.

Applies to

See also