IDesignerHost.DestroyComponent Method (IComponent)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: