Raised before the solution is closed.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function OnBeforeCloseSolution ( _
pUnkReserved As Object _
) As Integer
'使用
Dim instance As SolutionListener
Dim pUnkReserved As Object
Dim returnValue As Integer
returnValue = instance.OnBeforeCloseSolution(pUnkReserved)
public virtual int OnBeforeCloseSolution(
Object pUnkReserved
)
public:
virtual int OnBeforeCloseSolution(
Object^ pUnkReserved
)
public function OnBeforeCloseSolution(
pUnkReserved : Object
) : int
Parameters
pUnkReserved
Type: System.ObjectReserved for future use.
Return Value
Type: System.Int32
When implemented by derived classes, S_OK if the method succeeded, otherwise an error code.
Implements
IVsSolutionEvents3.OnBeforeCloseSolution(Object)
IVsSolutionEvents2.OnBeforeCloseSolution(Object)
IVsSolutionEvents.OnBeforeCloseSolution(Object)
Remarks
By default returns E_NOTIMPL.
Permissions
- 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.