Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns information about a drop-down bar/Window combination.
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
'Usage
Dim instance As IVsDropdownBarClient 
Dim iCombo As Integer 
Dim pcEntries As UInteger 
Dim puEntryType As UInteger 
Dim phImageList As IntPtr 
Dim returnValue As Integer 
returnValue = instance.GetComboAttributes(iCombo, _
    pcEntries, puEntryType, phImageList)
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
)
function GetComboAttributes(
    iCombo : int, 
    pcEntries : uint, 
    puEntryType : uint, 
    phImageList : IntPtr
) : int
Parameters
- iCombo 
 Type: System.Int32- [in] The drop-down bar/Window combination. 
- pcEntries 
 Type: System.UInt32%- [in] Count of entries in the combination. 
- puEntryType 
 Type: System.UInt32%- [out] Specifies drawing protocol for a combination. Values are taken from the DROPDOWNENTRYTYPE enumeration. 
- phImageList 
 Type: System.IntPtr%- [out] Handle to an HIMAGELIST. 
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsDropdownBarClient::GetComboAttributes(
   [in] long iCombo,
   [out] ULONG *pcEntries,
   [out] ULONG *puEntryType
);
Any of the out parameters, phImageList, puEntryType, and pcEntries, can be nulla null reference (Nothing in Visual Basic) if the associated information is not needed.
Note
phImageList from GetComboAttributes cannot be marshaled across machines.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.