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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
IVsDefaultButtonBarImages Interfaz
Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)