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
Get
'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;
}
private abstract IsReadOnly : bool
private override IsReadOnly : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
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.