語言

BehaviorEditorPart 建構函式

定義

建立一個新的類別實例。

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

備註

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

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

適用於

另請參閱