Compartilhar via


Delegado _dispSolutionEvents_ProjectRenamedEventHandler

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_ProjectRenamedEventHandler ( _
    Project As Project, _
    OldName As String _
)
[ComVisibleAttribute(false)]
public delegate void _dispSolutionEvents_ProjectRenamedEventHandler(
    Project Project,
    string OldName
)
[ComVisibleAttribute(false)]
public delegate void _dispSolutionEvents_ProjectRenamedEventHandler(
    [InAttribute] Project^ Project, 
    [InAttribute] String^ OldName
)
[<ComVisibleAttribute(false)>]
type _dispSolutionEvents_ProjectRenamedEventHandler = 
    delegate of 
        Project:Project * 
        OldName:string -> 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