ReadOnlyDictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.IsReadOnly Egenskap

Definition

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

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

Egenskapsvärde

true i samtliga fall.

Implementeringar

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen ReadOnlyDictionary<TKey,TValue> skickas till ett ICollection<T> gränssnitt.

Gäller för