Compartir a través de


IVsDefaultButtonBarImages.GetButtonCount (Método)

Devuelve el número de botones de Buttonbar.

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxis

'Declaración
Function GetButtonCount ( _
    <OutAttribute> ByRef pcButtons As Integer _
) As Integer
int GetButtonCount(
    out int pcButtons
)
int GetButtonCount(
    [OutAttribute] int% pcButtons
)
abstract GetButtonCount : 
        pcButtons:int byref -> int
function GetButtonCount(
    pcButtons : int
) : int

Parámetros

  • pcButtons
    Tipo: Int32%

    [out] número de botones.

Valor devuelto

Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Comentarios

Prototipo COM

de textmgr.idl:

HRESULT IVsDefaultButtonBarImages::GetButtonCount(
   [out] long *pcButtons
);

Seguridad de .NET Framework

Vea también

Referencia

IVsDefaultButtonBarImages Interfaz

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)