IVsUIHierarchy::QueryClose Method (Int32)
Visual Studio 2015
Determines whether the given hierarchy can be closed.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfCanClose
-
Type:
System::Int32
[out] If true, then the hierarchy can be closed. If false, then the hierarchy cannot be closed.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsHierarchy::QueryClose(Int32)From vsshell.idl:
HRESULT IVsUIHierarchy::QueryClose( [out] BOOL *pfCanClose );
Show: