Breyta

Deila með


AxHost.AboutBoxDelegate Delegate

Definition

Represents the method that will display an ActiveX control's About dialog box.

protected: delegate void AxHost::AboutBoxDelegate();
protected delegate void AxHost.AboutBoxDelegate();
Protected Delegate Sub AxHost.AboutBoxDelegate()

Remarks

The AxHost.AboutBoxDelegate provides you the ability to be notified when the ActiveX control's About box is going to be displayed. Code added to the delegate method is executed before the About box is displayed.

When you create an AxHost.AboutBoxDelegate delegate, you identify the method that will handle the display of an ActiveX control's About dialog box if it has one. To associate the method with your handler, add an instance of the delegate to the method. The handler is called whenever the method is called, unless you remove the delegate. For more information about delegates, see Handling and Raising Events.

For an example, see AxHost.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also