Redigera

Dela via


IDesignerHost.DestroyComponent(IComponent) Method

Definition

Destroys the specified component and removes it from the designer container.

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)

Parameters

component
IComponent

The component to destroy.

Applies to

See also