Container::RemoveWithoutUnsiting Method (IComponent^)

 

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: