Bewerken

Share via


ReadOnlyDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.IsReadOnly Property

Definition

Gets a value that indicates whether the collection is read-only.

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

Property Value

true in all cases.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary<TKey,TValue>.ValueCollection instance is cast to an ICollection<T> interface.

Applies to