IVsDropdownBar.SetCurrentSelection(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current selection in the given drop-down combination
public:
int SetCurrentSelection(int iCombo, int iNewSelection);
public:
int SetCurrentSelection(int iCombo, int iNewSelection);
int SetCurrentSelection(int iCombo, int iNewSelection);
public int SetCurrentSelection (int iCombo, int iNewSelection);
abstract member SetCurrentSelection : int * int -> int
Public Function SetCurrentSelection (iCombo As Integer, iNewSelection As Integer) As Integer
Parameters
- iCombo
- Int32
[in] The drop-down bar/Window combo.
- iNewSelection
- Int32
[in] New selected item.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsDropdownBar::SetCurrentSelection(
[in] long iCombo,
[in] long iNewSelection
);