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

適用於