Partilhar via


Método IVsDropdownBarClient.GetComboAttributes

Retorna informações sobre uma barra de menu suspenso / combinação da janela.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Function GetComboAttributes ( _
    iCombo As Integer, _
    <OutAttribute> ByRef pcEntries As UInteger, _
    <OutAttribute> ByRef puEntryType As UInteger, _
    <OutAttribute> ByRef phImageList As IntPtr _
) As Integer
int GetComboAttributes(
    int iCombo,
    out uint pcEntries,
    out uint puEntryType,
    out IntPtr phImageList
)
int GetComboAttributes(
    [InAttribute] int iCombo, 
    [OutAttribute] unsigned int% pcEntries, 
    [OutAttribute] unsigned int% puEntryType, 
    [OutAttribute] IntPtr% phImageList
)
abstract GetComboAttributes : 
        iCombo:int * 
        pcEntries:uint32 byref * 
        puEntryType:uint32 byref * 
        phImageList:IntPtr byref -> int
function GetComboAttributes(
    iCombo : int, 
    pcEntries : uint, 
    puEntryType : uint, 
    phImageList : IntPtr
) : int

Parâmetros

  • iCombo
    Tipo: Int32

    [in] A barra de menu suspenso / combinação da janela.

  • pcEntries
    Tipo: UInt32%

    [in] Contagem de entradas da combinação.

  • puEntryType
    Tipo: UInt32%

    [out] Especifica o protocolo de desenho para uma combinação. Valores são obtidas a partir do DROPDOWNENTRYTYPE enumeração.

  • phImageList
    Tipo: IntPtr%

    [out] Identificador para um HIMAGELIST.

Valor de retorno

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

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsDropdownBarClient::GetComboAttributes(
   [in] long iCombo,
   [out] ULONG *pcEntries,
   [out] ULONG *puEntryType
);

Qualquer um dos parâmetros de saída, phImageList, puEntryType, e pcEntries, pode ser nulluma referência nula (Nothing no Visual Basic) se as informações associadas não for necessário.

Dica

phImageListde GetComboAttributes não pode ser empacotado em máquinas.

Segurança do .NET Framework

Consulte também

Referência

IVsDropdownBarClient Interface

Namespace Microsoft.VisualStudio.TextManager.Interop