EditableAttribute(Boolean) Constructor

Definition

Initializes a new instance of the EditableAttribute class.

public:
 EditableAttribute(bool allowEdit);
public EditableAttribute (bool allowEdit);
new System.ComponentModel.DataAnnotations.EditableAttribute : bool -> System.ComponentModel.DataAnnotations.EditableAttribute
Public Sub New (allowEdit As Boolean)

Parameters

allowEdit
Boolean

true to specify that field is editable; otherwise, false.

Applies to