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

.NET Framework (current version)

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

Namespace:  System.Collections.ObjectModel
Assemblies:   System.ObjectModel (in System.ObjectModel.dll)
  mscorlib (in mscorlib.dll)

bool ICollection<TValue>.IsReadOnly { get; }

Property Value

Type: System.Boolean
true in all cases.



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.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8