Поделиться через


_dispSolutionEvents_ProjectRenamedEventHandler 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_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 does not support delegates.

Parameters

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