Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

bool ICollection<KeyValuePair<string, Object>>.IsReadOnly { get; }

Property Value

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



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

© 2015 Microsoft