IContainer.Remove 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.

Removes a component from the IContainer.

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

void Remove(
	IComponent component
)

Parameters

component
Type: System.ComponentModel.IComponent

The IComponent to remove.

Notes to Inheritors:

When you inherit from the Remove method, you must also remove the ISite, if any, associated with this IComponent.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: