Share via


CachedDataAnnotationsMetadataAttributes.Editable Property

Indicates whether a data field is editable.

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

Syntax

'Declaration
Public Property Editable As EditableAttribute 
    Get 
    Protected Set
'Usage
Dim instance As CachedDataAnnotationsMetadataAttributes 
Dim value As EditableAttribute 

value = instance.Editable

instance.Editable = value
public EditableAttribute Editable { get; protected set; }
public:
property EditableAttribute^ Editable {
    EditableAttribute^ get ();
    protected: void set (EditableAttribute^ value);
}
member Editable : EditableAttribute with get, set
function get Editable () : EditableAttribute 
protected function set Editable (value : EditableAttribute)

Property Value

Type: System.ComponentModel.DataAnnotations.EditableAttribute
true if the field is editable; otherwise, false.

See Also

Reference

CachedDataAnnotationsMetadataAttributes Class

System.Web.Mvc Namespace