IDesignerHost.DestroyComponent Method (IComponent)

 

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

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

void DestroyComponent(
	IComponent component
)

Parameters

component
Type: System.ComponentModel.IComponent

The component to destroy.

.NET Framework
Available since 1.1
Return to top
Show: