CachedDataAnnotationsMetadataAttributes.ReadOnly Property

 

Indicates whether a data field is read only.

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

public ReadOnlyAttribute ReadOnly { get; protected set; }

Property Value

Type: System.ComponentModel.ReadOnlyAttribute

true if the field is read only; otherwise, false.

Return to top
Show: