IVsHierarchy.QueryClose(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the given hierarchy can be closed.
public:
int QueryClose([Runtime::InteropServices::Out] int % pfCanClose);
int QueryClose([Runtime::InteropServices::Out] int & pfCanClose);
public int QueryClose (out int pfCanClose);
abstract member QueryClose : int -> int
Public Function QueryClose (ByRef pfCanClose As Integer) As Integer
Parameters
- pfCanClose
- Int32
[out] If true
, then the hierarchy can be closed. If false
, then the hierarchy cannot be closed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsHierarchy::QueryClose(
[out] BOOL *pfCanClose
);