Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsSolutionEvents.OnQueryCloseSolution Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int OnQueryCloseSolution(
	Object pUnkReserved,
	out int pfCancel
)

Parameters

pUnkReserved
Type: System.Object

[in] Reserved for future use.

pfCancel
Type: System.Int32%

[out] true if the client vetoed closing the solution. false if the client approved closing the solution.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents::OnQueryCloseSolution(
   [in] IUnknown *pUnkReserved,
   [in,out] BOOL *pfCancel
);
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.