ComponentDesigner.Initialize(IComponent) 方法

定义

使设计器准备查看、编辑和设计指定的组件。Prepares the designer to view, edit, and design the specified component.

public:
 virtual void Initialize(System::ComponentModel::IComponent ^ component);
public virtual void Initialize (System.ComponentModel.IComponent component);
abstract member Initialize : System.ComponentModel.IComponent -> unit
override this.Initialize : System.ComponentModel.IComponent -> unit
Public Overridable Sub Initialize (component As IComponent)

参数

component
IComponent

此设计器的组件。The component for this designer.

实现

注解

当设计器宿主准备好使用设计器时,将调用此方法。The designer host calls this method when it is ready to use the designer.

适用于

另请参阅