CachedDataAnnotationsMetadataAttributes.ReadOnly Property
Indicates whether a data field is read only.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Property ReadOnly As ReadOnlyAttribute Get Protected Set 'Usage Dim instance As CachedDataAnnotationsMetadataAttributes Dim value As ReadOnlyAttribute value = instance.ReadOnly instance.ReadOnly = value
Property Value
Type: System.ComponentModel.ReadOnlyAttributetrue if the field is read only; otherwise, false.
Show: