Container::RemoveWithoutUnsiting 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 Container without setting Site to null.

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

protected:
void RemoveWithoutUnsiting(
	IComponent^ component
)

Parameters

component
Type: System.ComponentModel::IComponent^

The component to remove.

The RemoveWithoutUnsiting method cleans up the site as usual, but it does not set the component's Site property to null.

.NET Framework
Available since 2.0
Return to top
Show: