_dispSolutionEvents_QueryCloseSolutionEventHandler Delegate

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

Microsoft Internal Use Only.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispSolutionEvents_QueryCloseSolutionEventHandler ( _
    <OutAttribute> ByRef fCancel As Boolean _
)
[ComVisibleAttribute(false)]
public delegate void _dispSolutionEvents_QueryCloseSolutionEventHandler(
    out bool fCancel
)
[ComVisibleAttribute(false)]
public delegate void _dispSolutionEvents_QueryCloseSolutionEventHandler(
    [InAttribute] [OutAttribute] bool% fCancel
)
[<ComVisibleAttribute(false)>]
type _dispSolutionEvents_QueryCloseSolutionEventHandler = 
    delegate of 
        fCancel:bool byref -> unit
JScript does not support delegates.

Parameters

  • fCancel
    Type: System.Boolean%
    Whether or not the close was cancelled.

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.

See Also

Reference

EnvDTE Namespace