WebBrowserBase.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.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
virtual void AttachInterfaces(System::Object ^ nativeActiveXObject);
protected virtual void AttachInterfaces (object nativeActiveXObject);
abstract member AttachInterfaces : obj -> unit
override this.AttachInterfaces : obj -> unit
Protected Overridable Sub AttachInterfaces (nativeActiveXObject As Object)
Parameters
- nativeActiveXObject
- Object
An object that represents the underlying ActiveX control.
Remarks
This implementation does nothing.
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.