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

定義

取得值,指出 ICollection<T> 是否唯讀。Gets a value indicating whether the ICollection<T> 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; }
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).IsReadOnly

屬性值

如果 true 是唯讀,則為 ICollection<T>,否則為 falsetrue if the ICollection<T> is read-only; otherwise, false. SortedList<TKey,TValue> 的預設實作中,這個屬性永遠會傳回 falseIn the default implementation of SortedList<TKey,TValue>, this property always returns false.

實作

適用於