Export (0) Print
Expand All

ModelMetadata.IsReadOnly Property

Gets or sets a value that indicates whether the model is read-only.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Overridable Property IsReadOnly As Boolean 
	Get 
	Set
'Usage
Dim instance As ModelMetadata 
Dim value As Boolean 

value = instance.IsReadOnly

instance.IsReadOnly = value

Property Value

Type: System.Boolean
true if the model is read-only; otherwise, false.
Show:
© 2014 Microsoft