IVsDropdownBarManager.GetDropdownBar(IVsDropdownBar) Yöntem

Tanım

Varsa, kod penceresiyle ilişkili açılan çubuğu döndürür. Varsa, S_OK döndürür ve bir işaretçi geri gönderir. Yoksa, null döndürür.

public:
 int GetDropdownBar([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar ^ % ppDropdownBar);
public:
 int GetDropdownBar([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar ^ &  ppDropdownBar);
int GetDropdownBar([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar const & & ppDropdownBar);
public int GetDropdownBar (out Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBar ppDropdownBar);
abstract member GetDropdownBar : IVsDropdownBar -> int
Public Function GetDropdownBar (ByRef ppDropdownBar As IVsDropdownBar) As Integer

Parametreler

ppDropdownBar
IVsDropdownBar

dışı Açılır çubuğun işaretçisi, bir tane yoksa null.

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.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

HRESULT IVsDropdownBarManager::GetDropdownBar(  
   [out] IVsDropdownBar **ppDropdownBar  
);  

GetDropdownBar kod penceresiyle ilişkili açılan menüyü geri gönderir. Varsa, bir AddRef ' ı döndürür S_OK ve buna geri gönderir. Yoksa, öğesini döndürür S_FALSE ve öğesini ppDropdownBar olarak ayarlar null .

Şunlara uygulanır