ConcurrentDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.IsReadOnly Property

Definition

获取一个值,该值指示 ICollection 是否为只读的。Gets a value that indicates whether the ICollection is read-only.

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

Property Value

Boolean

如果 true 是只读的,则为 ICollection;否则为 falsetrue if the ICollection is read-only; otherwise, false.

Implements

Applies to

See also