Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft