Upravit

Sdílet prostřednictvím


WebBrowserBase.AttachInterfaces(Object) Method

Definition

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.

Applies to