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 (out bool canClose);
abstract member QueryClose :  -> int
override this.QueryClose :  -> int
Protected Overridable Function QueryClose (ByRef canClose As Boolean) As Integer
Parameters
canClose
Boolean Boolean Boolean

[out] Returns true if the shell can be closed, otherwise false.

Returns

S_OK if the method succeeded, otherwise an error code.

Remarks

By default this method returns canClose as true and S_OK.

Applies to