IVsButtonBar.SetCurrentSelection(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.
Specifies The button that is selected.
public:
int SetCurrentSelection(int iCurButton);
public:
int SetCurrentSelection(int iCurButton);
int SetCurrentSelection(int iCurButton);
public int SetCurrentSelection (int iCurButton);
abstract member SetCurrentSelection : int -> int
Public Function SetCurrentSelection (iCurButton As Integer) As Integer
Parameters
- iCurButton
- Int32
[in] Index of the button to select.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsButtonBar::SetCurrentSelection(
[in] long iCurButton
);