Container.RemoveWithoutUnsiting(IComponent) 方法

定義

Container 移除元件,而不必將 Site 設定為 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)

參數

component
IComponent

要移除的元件。

備註

方法 RemoveWithoutUnsiting 會如往常般清除月臺,但不會將元件的 Site 屬性設定為 null

適用於

另請參閱