IVsSolutionEvents2.OnAfterCloseSolution Method (Object)
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
'Dichiarazione
Function OnAfterCloseSolution ( _
pUnkReserved As Object _
) As Integer
'Utilizzo
Dim instance As IVsSolutionEvents2
Dim pUnkReserved As Object
Dim returnValue As Integer
returnValue = instance.OnAfterCloseSolution(pUnkReserved)
int OnAfterCloseSolution(
Object pUnkReserved
)
int OnAfterCloseSolution(
[InAttribute] Object^ pUnkReserved
)
abstract OnAfterCloseSolution :
pUnkReserved:Object -> int
function OnAfterCloseSolution(
pUnkReserved : Object
) : int
Parameters
- pUnkReserved
Type: System.Object
[in] Reserved for future use.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolutionEvents.OnAfterCloseSolution(Object)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolutionEvents2::OnAfterCloseSolution(
[in] IUnknown *pUnkReserved
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.