Package.QueryClose(Boolean) Package.QueryClose(Boolean) Package.QueryClose(Boolean) Package.QueryClose(Boolean) Package.QueryClose(Boolean) Method

Definition

Called to ask the package if the shell can be closed.

protected:
 virtual int QueryClose([Runtime::InteropServices::Out] bool % canClose);
 virtual int QueryClose([Runtime::InteropServices::Out] bool & canClose);
protected virtual int QueryClose (out bool canClose);
abstract member QueryClose :  -> int
override this.QueryClose :  -> int
Protected Overridable Function QueryClose (ByRef canClose As Boolean) As Integer
Parameters
canClose

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

Returns

Remarks

By default this method returns canClose as true and S_OK.

Applies to