WebBrowser.AttachInterfaces Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override void AttachInterfaces(
	object nativeActiveXObject
)

Parameters

nativeActiveXObject
Type: System.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.

SecurityPermission

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

.NET Framework
Available since 2.0
Return to top
Show: