EditableAttribute(Boolean) Konstruktor

Definition

Initierar en ny instans av EditableAttribute klassen.

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

Parametrar

allowEdit
Boolean

trueför att ange att fältet kan redigeras. annars . false

Gäller för