WebBrowser.AttachInterfaces(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.