Condividi tramite


Metodo IVsDropdownBarClient.GetComboAttributes

Informazioni di restituisce su una combinazione a discesa della barra/finestra.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
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

Parametri

  • iCombo
    Tipo: Int32

    [in] La combinazione di riepilogo della barra/finestra.

  • pcEntries
    Tipo: UInt32%

    [in] Conteggio delle voci nella combinazione.

  • puEntryType
    Tipo: UInt32%

    [out] Specificare il protocollo di disegno per una combinazione. I valori vengono ricavati da DROPDOWNENTRYTYPE enumerazione.

  • phImageList
    Tipo: IntPtr%

    [out] Handle a un HIMAGELIST.

Valore restituito

Tipo: Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Note

Firma COM

da textmgr.idl:

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

Qualsiasi parametro out, phImageList, puEntryTypeepcEntries, può essere nullriferimento null (Nothing in Visual Basic) se le informazioni associate non sono necessarie.

Nota

phImageList da GetComboAttributes non è possibile eseguire il marshalling tra i computer.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsDropdownBarClient Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop