Freigeben über


IVsDropdownBarClient.GetComboAttributes-Methode

Gibt Informationen über eine Dropdownliste Kombination der Leiste/Fenster zurück.

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

Syntax

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

Parameter

  • iCombo
    Typ: Int32

    [in] Die Dropdownliste Kombination der Leiste/Fenster.

  • pcEntries
    Typ: UInt32%

    [in] Anzahl von Einträgen in der Kombination.

  • puEntryType
    Typ: UInt32%

    [out] Gibt das Zeichnen Authentifizierungsprotokoll für eine Kombination an. Werte werden von der DROPDOWNENTRYTYPE-Enumeration bestimmt.

  • phImageList
    Typ: IntPtr%

    [out] Handle für einen HIMAGELIST.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

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

Jede der out-Parameter, phImageList, puEntryTypeundpcEntries, können nullein Nullverweis (Nothing in Visual Basic) sein, wenn die zugeordneten Informationen nicht benötigt werden.

Hinweis

phImageList von GetComboAttributes kann nicht auf Computern gemarshallt werden.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDropdownBarClient Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace