共用方式為


FlavoredProject.IVsHierarchy.QueryClose(Int32) Method

Definition

Determines whether the hierarchy can be closed.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose([Runtime::InteropServices::Out] int % canClose) = Microsoft::VisualStudio::Shell::Interop::IVsHierarchy::QueryClose;
int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose([Runtime::InteropServices::Out] int & canClose);
int IVsHierarchy.QueryClose (out int canClose);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose : int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.QueryClose : int -> int
Function QueryClose (ByRef canClose As Integer) As Integer Implements IVsHierarchy.QueryClose

Parameters

canClose
Int32

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

Returns

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

Implements

Remarks

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

Applies to