HashSet<T>.ICollection<T>.IsReadOnly Egenskap

Definition

Hämtar ett värde som anger om en samling är skrivskyddad.

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

Egenskapsvärde

trueom samlingen är skrivskyddad. annars . false

Implementeringar

Kommentarer

Att hämta värdet för den här egenskapen är en O(1)-åtgärd.

Gäller för