IVsDropdownBarManager::GetDropdownBar Method (IVsDropdownBar^)
Visual Studio 2015
Returns the dropdown bar associated with the code window, if any. If there is one, it returns S_OK and sends back a pointer to it. If there isn't one, it returns null.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- ppDropdownBar
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsDropdownBar^
[out] Pointer to the drop-down bar, null if there isn't one.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsDropdownBarManager::GetDropdownBar( [out] IVsDropdownBar **ppDropdownBar );
GetDropdownBar sends back the dropdown bar associated with the code window. If there is one, it returns S_OK and sends back an AddRef'd ptr to it. If there isn't one, it returns S_FALSE and sets ppDropdownBar to null.
Show: