SolutionListener.OnAfterCloseSolution Method

Raised after the solution has been closed.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function OnAfterCloseSolution ( _
    reserved As Object _
) As Integer
'使用
Dim instance As SolutionListener
Dim reserved As Object
Dim returnValue As Integer

returnValue = instance.OnAfterCloseSolution(reserved)
public virtual int OnAfterCloseSolution(
    Object reserved
)
public:
virtual int OnAfterCloseSolution(
    Object^ reserved
)
public function OnAfterCloseSolution(
    reserved : Object
) : int

Parameters

Return Value

Type: System.Int32

When implemented by derived classes, S_OK if the method succeeded, otherwise an error code.

Implements

IVsSolutionEvents3.OnAfterCloseSolution(Object)
IVsSolutionEvents2.OnAfterCloseSolution(Object)
IVsSolutionEvents.OnAfterCloseSolution(Object)

Remarks

By default returns E_NOTIMPL.

Permissions

See Also

Reference

SolutionListener Class

SolutionListener Members

Microsoft.VisualStudio.Package Namespace