EditableAttribute(Boolean) 建構函式

定義

初始化 EditableAttribute 類別的新執行個體。

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

參數

allowEdit
Boolean

true指定該欄位可編輯;否則,。 false

適用於