WebBrowser.AttachInterfaces(Object) WebBrowser.AttachInterfaces(Object) WebBrowser.AttachInterfaces(Object) 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 Object Object 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.

Security

SecurityPermission
for immediate callers to use this control. Demand value: LinkDemand; Named Permission Sets: FullTrust.

Applies to