Επεξεργασία

Κοινή χρήση μέσω


Container.RemoveWithoutUnsiting(IComponent) Method

Definition

Removes a component from the Container without setting Site to null.

protected:
 void RemoveWithoutUnsiting(System::ComponentModel::IComponent ^ component);
protected void RemoveWithoutUnsiting (System.ComponentModel.IComponent component);
protected void RemoveWithoutUnsiting (System.ComponentModel.IComponent? component);
member this.RemoveWithoutUnsiting : System.ComponentModel.IComponent -> unit
Protected Sub RemoveWithoutUnsiting (component As IComponent)

Parameters

component
IComponent

The component to remove.

Remarks

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

Applies to

See also