ImmutableDictionary<TKey,TValue>.Builder.IDictionary.IsReadOnly 屬性

定義

取得值,這個值表示 ICollection<T> 是否為唯讀。

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

屬性值

Boolean

如果 true 是唯讀,則為 ICollection<T>,否則為 false

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableDictionary<TKey,TValue>.Builder 執行個體轉換成 IDictionary 介面時,才能使用這個成員。

適用於