ViewDataDictionary.IsReadOnly Property
Gets a value that indicates whether the collection is read-only.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public ReadOnly Property IsReadOnly As Boolean
Get
public bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
bool get () sealed;
}
Property Value
Type: System.Boolean
true if the collection is read-only; otherwise, false.