Compartilhar via


IVsHierarchy.QueryClose(Int32) Method

Definition

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  
);  

Applies to