FlavoredProject::IVsHierarchy::QueryClose Method (Int32)

 

Determines whether the hierarchy can be closed.

Namespace:   Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int QueryClose(
	[OutAttribute] int% canClose
) sealed = IVsHierarchy::QueryClose

Parameters

canClose
Type: System::Int32

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

Return Value

Type: System::Int32

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

This method calls the QueryClose method, which calls the QueryClose method on the inner project.

Return to top
Show: