Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
QueryClose Method

Package.QueryClose Method

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

protected virtual int QueryClose(
	out bool canClose
)

Parameters

canClose
Type: System.Boolean
[out] Returns true if the shell can be closed, otherwise false.

Return Value

Type: System.Int32
S_OK if the method succeeded, otherwise an error code.

By default this method returns canClose as true and S_OK.

Community Additions

ADD
Show:
© 2015 Microsoft