Package.IVsPackage.QueryClose(Int32) Package.IVsPackage.QueryClose(Int32) Method

Definition

Called to ask the VSPackage if the Visual Studio shell can be closed.

int IVsPackage.QueryClose (out int close);
Function QueryClose (ByRef close As Integer) As Integer Implements IVsPackage.QueryClose
Parameters
close
Int32 Int32

Set canClose to false if you want to prevent the shell from closing

Returns

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

Applies to