Bagikan melalui


Dictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.IsReadOnly Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah kamus bersifat baca-saja.

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

Nilai Properti

trueICollection<T> jika bersifat baca-saja; jika tidak, false. Dalam implementasi Dictionary<TKey,TValue>default , properti ini selalu mengembalikan false.

Penerapan

Berlaku untuk