ConcurrentDictionary<TKey,TValue>.IDictionary.IsReadOnly ConcurrentDictionary<TKey,TValue>.IDictionary.IsReadOnly ConcurrentDictionary<TKey,TValue>.IDictionary.IsReadOnly Property

定義

取得值,這個值表示 IDictionary<TKey,TValue> 是否為唯讀。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; }
 ReadOnly Property IsReadOnly As Boolean Implements IDictionary.IsReadOnly

屬性值

如果 true 是唯讀,則為 IDictionary<TKey,TValue>,否則為 falsetrue if the IDictionary<TKey,TValue> is read-only; otherwise, false. 若是 ConcurrentDictionary<TKey,TValue>,則這個屬性一律傳回 falseFor ConcurrentDictionary<TKey,TValue>, this property always returns false.

實作

適用於

另請參閱