IDesignerHost.DestroyComponent(IComponent) 方法

定义

销毁指定组件并将其从设计器容器中移除。

public:
 void DestroyComponent(System::ComponentModel::IComponent ^ component);
public void DestroyComponent (System.ComponentModel.IComponent component);
abstract member DestroyComponent : System.ComponentModel.IComponent -> unit
Public Sub DestroyComponent (component As IComponent)

参数

component
IComponent

要销毁的组件。

适用于

另请参阅