VsDropdownBarClass::SetCurrentSelection Method (Int32, Int32)
Visual Studio 2015
Sets the current selection in the given drop-down combination.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iCombo
-
Type:
System::Int32
[in] The drop-down bar/Window combo.
- iNewSelection
-
Type:
System::Int32
[in] New selected item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK; otherwise, it returns an error code.
Show: