VsDropdownBarClass.SetCurrentSelection, méthode

Définit la sélection actuelle dans la combinaison déroulante donnée.

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

Syntaxe

'Déclaration
Public Overridable Function SetCurrentSelection ( _
    iCombo As Integer, _
    iNewSelection As Integer _
) As Integer
public virtual int SetCurrentSelection(
    int iCombo,
    int iNewSelection
)
public:
virtual int SetCurrentSelection(
    [InAttribute] int iCombo, 
    [InAttribute] int iNewSelection
)
abstract SetCurrentSelection : 
        iCombo:int * 
        iNewSelection:int -> int  
override SetCurrentSelection : 
        iCombo:int * 
        iNewSelection:int -> int
public function SetCurrentSelection(
    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

Implémentations

IVsDropdownBar.SetCurrentSelection(Int32, Int32)

Sécurité .NET Framework

Voir aussi

Référence

VsDropdownBarClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms