WebBrowserBase.DetachInterfaces 方法

定義

捨棄基礎 ActiveX 控制項時,由控制項呼叫。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 virtual void DetachInterfaces();
protected virtual void DetachInterfaces ();
abstract member DetachInterfaces : unit -> unit
override this.DetachInterfaces : unit -> unit
Protected Overridable Sub DetachInterfaces ()

備註

此實作不會執行任何動作。

給繼承者的注意事項

衍生類別可以覆寫這個方法,以釋放在 方法覆寫 AttachInterfaces(Object) 中快取之基礎 ActiveX 物件的參考。

適用於