Partilhar via


Método VsDropdownBarClass.SetCurrentSelection

Define a seleção atual a determinada combinação de lista suspensa.

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

Sintaxe

'Declaração
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

Parâmetros

  • iCombo
    Tipo: Int32

    [in] A barra de menu suspenso / combinação da janela.

  • iNewSelection
    Tipo: Int32

    [in] Novo item selecionado.

Valor de retorno

Tipo: Int32

Implementações

IVsDropdownBar.SetCurrentSelection(Int32, Int32)

Segurança do .NET Framework

Consulte também

Referência

VsDropdownBarClass Classe

Namespace Microsoft.VisualStudio.TextManager.Interop