Método IVsUIElementPane.GetDefaultUIElementSize (SIZE )

 

Obtém o tamanho padrão do elemento.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (em Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Sintaxe

int GetDefaultUIElementSize(
    SIZE[] psize
)
int GetDefaultUIElementSize(
    array<SIZE>^ psize
)
abstract GetDefaultUIElementSize : 
        psize:SIZE[] -> int
Function GetDefaultUIElementSize (
    psize As SIZE()
) As Integer

Parâmetros

  • psize
    [out] O tamanho.

Valor de retorno

Type: System.Int32

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

Comentários

Visual Studio chama este método para solicitar as dimensões da ferramenta para sua exibição inicial.Tamanhos subseqüentes provenientes de layout persistente.

Consulte também

Interface IVsUIElementPane
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo