Compartir a través de


IVsSolutionEvents.OnAfterCloseSolution Method

Notifies listening clients that a solution has been closed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaración
Function OnAfterCloseSolution ( _
    pUnkReserved As Object _
) As Integer
'Uso
Dim instance As IVsSolutionEvents
Dim pUnkReserved As Object
Dim returnValue As Integer

returnValue = instance.OnAfterCloseSolution(pUnkReserved)
int OnAfterCloseSolution(
    Object pUnkReserved
)
int OnAfterCloseSolution(
    [InAttribute] Object^ pUnkReserved
)
function OnAfterCloseSolution(
    pUnkReserved : Object
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents::OnAfterCloseSolution(
   [in] IUnknown *pUnkReserved
);

Permissions

See Also

Reference

IVsSolutionEvents Interface

IVsSolutionEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace