DesignOnlyAttribute(Boolean) 建構函式

定義

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

public:
 DesignOnlyAttribute(bool isDesignOnly);
public DesignOnlyAttribute (bool isDesignOnly);
new System.ComponentModel.DesignOnlyAttribute : bool -> System.ComponentModel.DesignOnlyAttribute
Public Sub New (isDesignOnly As Boolean)

參數

isDesignOnly
Boolean

如果屬性只能在設計階段進行設定則為 true;如果屬性可以在設計階段和 Run Time 進行設定則為 false

適用於