IVsButtonBar.GetSize(Int32, Int32) Método

Definição

Obtém o tamanho da barra de botões.

public:
 int GetSize([Runtime::InteropServices::Out] int % piWidth, int % piHeight);
int GetSize([Runtime::InteropServices::Out] int & piWidth, int & piHeight);
public int GetSize (out int piWidth, ref int piHeight);
abstract member GetSize : int * int -> int
Public Function GetSize (ByRef piWidth As Integer, ByRef piHeight As Integer) As Integer

Parâmetros

piWidth
Int32

fora A largura da barra de botões

piHeight
Int32

referência A altura da barra de botões

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::GetSize(  
   [out] long *piWidth, long *piHeight  
);  

Este método é chamado pelo pai; Os clientes não precisam chamá-lo a menos que você esteja escrevendo outro proprietário para a barra de botões. A largura é uma função de altura.

Aplica-se a