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

适用于