IVsDropdownBarClient.GetComboAttributes(Int32, UInt32, UInt32, IntPtr) Methode

Definition

Gibt Informationen über eine Kombination von Dropdownleiste/Fenster zurück.

public:
 int GetComboAttributes(int iCombo, [Runtime::InteropServices::Out] System::UInt32 % pcEntries, [Runtime::InteropServices::Out] System::UInt32 % puEntryType, [Runtime::InteropServices::Out] IntPtr % phImageList);
public int GetComboAttributes (int iCombo, out uint pcEntries, out uint puEntryType, out IntPtr phImageList);
abstract member GetComboAttributes : int * uint32 * uint32 * nativeint -> int
Public Function GetComboAttributes (iCombo As Integer, ByRef pcEntries As UInteger, ByRef puEntryType As UInteger, ByRef phImageList As IntPtr) As Integer

Parameter

iCombo
Int32

[in] Die Kombination von Dropdownleiste/Fenster.

pcEntries
UInt32

[in] Anzahl der Einträge in der Kombination.

puEntryType
UInt32

[out] Gibt ein Zeichnungsprotokoll für eine Kombination an. Die Werte werden der DROPDOWNENTRYTYPE-Enumeration entnommen.

phImageList
IntPtr

[out] Handle für eine HIMAGELIST.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus textmgr. idl:

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

Der Out-Parameter,, phImageList puEntryType und pcEntries kann sein, null Wenn die zugehörigen Informationen nicht benötigt werden.

Hinweis

phImageList von GetComboAttributes kann nicht Computer übergreifend gemarshallt werden.

Gilt für