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

.NET Framework (current version)

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

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

bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly { get; }

Property Value

Type: System.Boolean
true in all cases.

Implements

ICollection<T>.IsReadOnly

This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary<TKey, TValue> 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
Show: