IVsUIHierarchy.QueryClose(Int32) Yöntem

Tanım

Verilen hiyerarşinin kapatılıp kapatılamayacağını belirler.

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

Parametreler

pfCanClose
Int32

dışı İse true hiyerarşi kapatılabilir. İse false hiyerarşi kapatılamaz.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Uygulamalar

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

HRESULT IVsUIHierarchy::QueryClose(  
   [out] BOOL *pfCanClose  
);  

Şunlara uygulanır