Condividi tramite


IVsDropdownBarClient.OnItemSelected(Int32, Int32) Method

Definition

Fires when a combo item is selected.

public:
 int OnItemSelected(int iCombo, int iIndex);
public:
 int OnItemSelected(int iCombo, int iIndex);
int OnItemSelected(int iCombo, int iIndex);
public int OnItemSelected (int iCombo, int iIndex);
abstract member OnItemSelected : int * int -> int
Public Function OnItemSelected (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::OnItemSelected(  
   [in] long iCombo,  
   [in] long iIndex  
);  

Applies to