IVsButtonBar.GetCurrentSelection(Int32) Método

Definição

Retorna o número do botão que está pressionado no momento.

public:
 int GetCurrentSelection([Runtime::InteropServices::Out] int % piCurButton);
int GetCurrentSelection([Runtime::InteropServices::Out] int & piCurButton);
public int GetCurrentSelection (out int piCurButton);
abstract member GetCurrentSelection : int -> int
Public Function GetCurrentSelection (ByRef piCurButton As Integer) As Integer

Parâmetros

piCurButton
Int32

fora Aponta para o número do botão pressionado no momento.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De textmgr. idl:

HRESULT IVsButtonBar::GetCurrentSelection(  
   [out] long *piCurButton  
);  

Aplica-se a