Condividi tramite


IVsDropdownBar.RefreshCombo Method

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

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function RefreshCombo ( _
    iCombo As Integer, _
    iNewSelection As Integer _
) As Integer
int RefreshCombo(
    int iCombo,
    int iNewSelection
)
int RefreshCombo(
    [InAttribute] int iCombo, 
    [InAttribute] int iNewSelection
)
abstract RefreshCombo : 
        iCombo:int * 
        iNewSelection:int -> int
function RefreshCombo(
    iCombo : int, 
    iNewSelection : int
) : int

Parameters

  • iCombo
    Type: System.Int32

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

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsDropdownBar Interface

Microsoft.VisualStudio.TextManager.Interop Namespace