共用方式為


IVsDropdownBar.RefreshCombo(Int32, Int32) Method

Definition

Force a repaint of a combo, specifying the new selection.

public:
 int RefreshCombo(int iCombo, int iNewSelection);
public:
 int RefreshCombo(int iCombo, int iNewSelection);
int RefreshCombo(int iCombo, int iNewSelection);
public int RefreshCombo (int iCombo, int iNewSelection);
abstract member RefreshCombo : int * int -> int
Public Function RefreshCombo (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 OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsDropdownBar::RefreshCombo(  
   [in] long iCombo,  
   [in] long iNewSelection  
);  

Applies to