語言

LayoutEditorPart 建構函式

定義

建立一個新的類別實例。

public:
 LayoutEditorPart();
public LayoutEditorPart();
Public Sub New ()

備註

LayoutEditorPart建構子為預設值;類別中未宣告LayoutEditorPart建構子,因此當建立新類別實例時不會執行特殊任務。

通常你不需要使用建構子,因為你可以在設計時以宣告方式為頁面添加 LayoutEditorPart 控制項。 不過,如果你因為某些原因需要程式化地新增 LayoutEditorPart 控制項,你可以使用 LayoutEditorPart 建構子。

適用於

另請參閱