ImmutableDictionary<TKey,TValue>.Builder.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;否则为 false

实现

适用于