HashSet<T>.ICollection<T>.IsReadOnly Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah koleksi bersifat baca-saja.

property bool System::Collections::Generic::ICollection<T>::IsReadOnly { bool get(); };
bool System.Collections.Generic.ICollection<T>.IsReadOnly { get; }
member this.System.Collections.Generic.ICollection<T>.IsReadOnly : bool
 ReadOnly Property IsReadOnly As Boolean Implements ICollection(Of T).IsReadOnly

Nilai Properti

true jika koleksi bersifat baca-saja; jika tidak, false.

Penerapan

Keterangan

Mengambil nilai properti ini adalah operasi O(1).

Berlaku untuk