Método VsDropdownBarClass.GetCurrentSelection
Retorna a entrada selecionada no momento em que uma determinada combinação.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
Public Overridable Function GetCurrentSelection ( _
iCombo As Integer, _
<OutAttribute> ByRef piCurSel As Integer _
) As Integer
public virtual int GetCurrentSelection(
int iCombo,
out int piCurSel
)
public:
virtual int GetCurrentSelection(
[InAttribute] int iCombo,
[OutAttribute] int% piCurSel
)
abstract GetCurrentSelection :
iCombo:int *
piCurSel:int byref -> int
override GetCurrentSelection :
iCombo:int *
piCurSel:int byref -> int
public function GetCurrentSelection(
iCombo : int,
piCurSel : int
) : int
Parâmetros
iCombo
Tipo: Int32[in] A barra de menu suspenso / combinação da janela.
piCurSel
Tipo: Int32%[out] Item atualmente selecionado.
Valor de retorno
Tipo: Int32
Implementações
IVsDropdownBar.GetCurrentSelection(Int32, Int32%)
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.