共用方式為


_dispSolutionEvents_QueryCloseSolutionEventHandler Delegate

Definition

Microsoft Internal Use Only.

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

public delegate void _dispSolutionEvents_QueryCloseSolutionEventHandler([Runtime::InteropServices::Out] bool % fCancel);
[System.Runtime.InteropServices.ComVisible(false)]
[System.Runtime.InteropServices.TypeLibType(16)]
public delegate void _dispSolutionEvents_QueryCloseSolutionEventHandler(out bool fCancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void _dispSolutionEvents_QueryCloseSolutionEventHandler(out bool fCancel);
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Runtime.InteropServices.TypeLibType(16)>]
type _dispSolutionEvents_QueryCloseSolutionEventHandler = delegate of bool -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
type _dispSolutionEvents_QueryCloseSolutionEventHandler = delegate of bool -> unit
Public Delegate Sub _dispSolutionEvents_QueryCloseSolutionEventHandler(ByRef fCancel As Boolean)

Parameters

fCancel
Boolean

Whether or not the close was cancelled.

Attributes

Remarks

The SolutionEvents object can go out of scope and be garbage collected before the solution is closed. To retain a reference to this object, declare a private variable in the class in which you implement the solution event handlers.

Applies to