_dispSolutionEvents_ProjectAddedEventHandler 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_ProjectAddedEventHandler ( _
Project As Project _
)
[ComVisibleAttribute(false)]
public delegate void _dispSolutionEvents_ProjectAddedEventHandler(
Project Project
)
[ComVisibleAttribute(false)]
public delegate void _dispSolutionEvents_ProjectAddedEventHandler(
[InAttribute] Project^ Project
)
[<ComVisibleAttribute(false)>]
type _dispSolutionEvents_ProjectAddedEventHandler =
delegate of
Project:Project -> unit
JScript does not support delegates.
Parameters
- Project
Type: EnvDTE.Project
The project.
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.