IVsDropdownBar.RefreshCombo, méthode

Forcez un redessiner d'un modifiable, en spécifiant la nouvelle sélection.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
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

Paramètres

  • iCombo
    Type : Int32

    [in] la zone déroulant de barre/fenêtre.

  • iNewSelection
    Type : Int32

    [in] nouvelle élément sélectionné.

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne OK d'S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

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

Sécurité .NET Framework

Voir aussi

Référence

IVsDropdownBar Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms