Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

public:
property bool IsReadOnly {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if the model is read-only; otherwise, false.

Return to top
Show:
© 2015 Microsoft