Compartilhar via


Delegado _dispSolutionEvents_QueryCloseSolutionEventHandler

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Somente para uso interno da Microsoft.

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

Sintaxe

'Declaração
<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 não oferece suporte a delegados.

Parâmetros

Comentários

O SolutionEvents objeto pode ir fora do escopo e ser lixo coletado antes que a solução é fechada.Para manter uma referência a esse objeto, declare uma variável private na classe em que você implemente os manipuladores de eventos de solução.

Consulte também

Referência

Namespace EnvDTE