CachedDataAnnotationsMetadataAttributes.ReadOnly Property

Indicates whether a data field is read only.

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

member ReadOnly : ReadOnlyAttribute with get, set

Property Value

Type: System.ComponentModel.ReadOnlyAttribute
true if the field is read only; otherwise, false.
Show: