Freigeben über


IVsDropdownBarClient.OnItemChosen(Int32, Int32) Method

Definition

Fires when a combo item is chosen.

public:
 int OnItemChosen(int iCombo, int iIndex);
public:
 int OnItemChosen(int iCombo, int iIndex);
int OnItemChosen(int iCombo, int iIndex);
public int OnItemChosen (int iCombo, int iIndex);
abstract member OnItemChosen : int * int -> int
Public Function OnItemChosen (iCombo As Integer, iIndex As Integer) As Integer

Parameters

iCombo
Int32

[in] The drop-down bar/Window combo.

iIndex
Int32

[in] Index of item of interest.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsDropdownBarClient::OnItemChosen(  
   [in] long iCombo,  
   [in] long iIndex  
);  

Applies to