ModelStateDictionary.IsReadOnly Property

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

Namespace:  System.Web.WebPages.Html
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public ReadOnly Property IsReadOnly As Boolean 
    Get
'Usage
Dim instance As ModelStateDictionary 
Dim value As Boolean 

value = instance.IsReadOnly
public bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () sealed;
}
abstract IsReadOnly : bool 
override IsReadOnly : bool
final function get IsReadOnly () : boolean

Property Value

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

Implements

ICollection<T>.IsReadOnly

See Also

Reference

ModelStateDictionary Class

System.Web.WebPages.Html Namespace