Compartir a través de


IVsSolutionEvents3.OnBeforeCloseSolution Method (Object)

Notifies listening clients that the solution is about to be closed.

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

Syntax

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

returnValue = instance.OnBeforeCloseSolution(pUnkReserved)
int OnBeforeCloseSolution(
    Object pUnkReserved
)
int OnBeforeCloseSolution(
    [InAttribute] Object^ pUnkReserved
)
abstract OnBeforeCloseSolution : 
        pUnkReserved:Object -> int 
function OnBeforeCloseSolution(
    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.

Implements

IVsSolutionEvents2.OnBeforeCloseSolution(Object)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents3::OnBeforeCloseSolution(
   [in] IUnknown *pUnkReserved
);

.NET Framework Security

See Also

Reference

IVsSolutionEvents3 Interface

IVsSolutionEvents3 Members

OnBeforeCloseSolution Overload

Microsoft.VisualStudio.Shell.Interop Namespace