Udostępnij za pośrednictwem


_dispSolutionEvents Interface

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
<GuidAttribute("FBCFF1C2-261C-11D1-AE5E-00A0C90F26F4")> _
<InterfaceTypeAttribute()> _
Public Interface _dispSolutionEvents
[GuidAttribute("FBCFF1C2-261C-11D1-AE5E-00A0C90F26F4")]
[InterfaceTypeAttribute()]
public interface _dispSolutionEvents
[GuidAttribute(L"FBCFF1C2-261C-11D1-AE5E-00A0C90F26F4")]
[InterfaceTypeAttribute()]
public interface class _dispSolutionEvents
[<GuidAttribute("FBCFF1C2-261C-11D1-AE5E-00A0C90F26F4")>]
[<InterfaceTypeAttribute()>]
type _dispSolutionEvents =  interface end
public interface _dispSolutionEvents

The _dispSolutionEvents type exposes the following members.

Methods

  Name Description
Public method AfterClosing Infrastructure. Microsoft Internal Use Only.
Public method BeforeClosing Infrastructure. Microsoft Internal Use Only.
Public method Opened Infrastructure. Microsoft Internal Use Only.
Public method ProjectAdded Infrastructure. Microsoft Internal Use Only.
Public method ProjectRemoved Infrastructure. Microsoft Internal Use Only.
Public method ProjectRenamed Infrastructure. Microsoft Internal Use Only.
Public method QueryCloseSolution Infrastructure. Microsoft Internal Use Only.
Public method Renamed Infrastructure. Microsoft Internal Use Only.

Top

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