Επεξεργασία

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


WebBrowser.AttachInterfaces(Object) Method

Definition

Called by the control when the underlying ActiveX control is created.

protected:
 override void AttachInterfaces(System::Object ^ nativeActiveXObject);
protected override void AttachInterfaces (object nativeActiveXObject);
override this.AttachInterfaces : obj -> unit
Protected Overrides Sub AttachInterfaces (nativeActiveXObject As Object)

Parameters

nativeActiveXObject
Object

An object that represents the underlying ActiveX control.

Notes to Inheritors

Derived classes can override this method to cast the underlying ActiveX object to an appropriate interface and cache it in a member variable. This value must then be released in an override of the DetachInterfaces() method.

Applies to