WebBrowserBase::AttachInterfaces Method (Object^)

 

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:
virtual void AttachInterfaces(
	Object^ nativeActiveXObject
)

Parameters

nativeActiveXObject
Type: System::Object^

An object that represents the underlying ActiveX control.

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.

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: