TempDataDictionary::ICollection<KeyValuePair<String, Object>>::IsReadOnly Property

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

private:
virtual property bool IsReadOnly {
	bool get () sealed = ICollection<KeyValuePair<String^, Object^>>::IsReadOnly::get;
}

Property Value

Type: System::Boolean
true if the dictionary is read-only; otherwise, false.

Implements

ICollection<T>::IsReadOnly

A dictionary that is read-only does not allow the addition, removal, or modification of elements after the collection is created.

Show: