IVsDropdownBarManager.GetDropdownBar(IVsDropdownBar) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
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 .