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)
Syntax
'Declaration
Private ReadOnly Property IsReadOnly As Boolean
Implements ICollection(Of KeyValuePair(Of String, Object)).IsReadOnly
'Usage
Dim instance As TempDataDictionary
Dim value As Boolean
value = CType(instance, ICollection(Of KeyValuePair(Of String, Object))).IsReadOnly
bool ICollection<KeyValuePair<string, Object>>.IsReadOnly { get; }
private:
virtual property bool IsReadOnly {
bool get () sealed = ICollection<KeyValuePair<String^, Object^>>::IsReadOnly::get;
}
JScript does not support explicit interface implementations.
Property Value
Type: System.Boolean
true if the dictionary is read-only; otherwise, false.
Implements
Remarks
A dictionary that is read-only does not allow the addition, removal, or modification of elements after the collection is created.