共用方式為


IDesignerHost.GetDesigner(IComponent) 方法

定義

取得含有指定元件的設計工具執行個體。

public:
 System::ComponentModel::Design::IDesigner ^ GetDesigner(System::ComponentModel::IComponent ^ component);
public System.ComponentModel.Design.IDesigner GetDesigner (System.ComponentModel.IComponent component);
public System.ComponentModel.Design.IDesigner? GetDesigner (System.ComponentModel.IComponent component);
abstract member GetDesigner : System.ComponentModel.IComponent -> System.ComponentModel.Design.IDesigner
Public Function GetDesigner (component As IComponent) As IDesigner

參數

component
IComponent

要為其擷取設計工具的 IComponent

傳回

IDesignernull (如果指定元件沒有設計工具)。

適用於