共用方式為


ReadOnlyDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.IsReadOnly 屬性

定義

取得值,這個值表示字典是否為唯讀。

property bool System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey,TValue>>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).IsReadOnly

屬性值

一律會傳 true 回 以指出字典是唯讀的。

實作

適用於