ReadOnlyCollectionBuilder<T>.ICollection<T>.IsReadOnly Özellik

Tanım

ICollection<T> öğesinin salt okunur olup olmadığını belirten bir değer alır.

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

Özellik Değeri

trueICollection<T> salt okunur ise; değilse, false.

Uygulamalar

Açıklamalar

Salt okunur olan bir koleksiyon, koleksiyon oluşturulduktan sonra öğelerinin eklenmesi, kaldırılması veya değiştirilmesine izin vermez.

Şunlara uygulanır