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

返回

IDesigner;或者在指定组件没有设计器的情况下为 null

适用于