共用方式為


ComponentEditorForm(Object, Type[]) 建構函式

定義

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

public:
 ComponentEditorForm(System::Object ^ component, cli::array <Type ^> ^ pageTypes);
public ComponentEditorForm (object component, Type[] pageTypes);
new System.Windows.Forms.Design.ComponentEditorForm : obj * Type[] -> System.Windows.Forms.Design.ComponentEditorForm
Public Sub New (component As Object, pageTypes As Type())

參數

component
Object

要編輯的元件。

pageTypes
Type[]

要在表單中顯示的 ComponentEditorPage 物件集。

例外狀況

component 不是 IComponent

適用於