共用方式為


VsDropdownBarClass.RefreshCombo Method

Forces a repaint of a combo, specifying the current selection.

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

Syntax

'宣告
Public Overridable Function RefreshCombo ( _
    iCombo As Integer, _
    iNewSelection As Integer _
) As Integer
public virtual int RefreshCombo(
    int iCombo,
    int iNewSelection
)
public:
virtual int RefreshCombo(
    [InAttribute] int iCombo, 
    [InAttribute] int iNewSelection
)
abstract RefreshCombo : 
        iCombo:int * 
        iNewSelection:int -> int 
override RefreshCombo : 
        iCombo:int * 
        iNewSelection:int -> int 
public 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; otherwise, it returns an error code.

Implements

IVsDropdownBar.RefreshCombo(Int32, Int32)

.NET Framework Security

See Also

Reference

VsDropdownBarClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace