Udostępnij za pośrednictwem


IVsDropdownBarClient3.GetEntryImage(Int32, Int32, Int32, IntPtr) Method

Definition

The successor to the GetEntryImage(Int32, Int32, Int32) method. This method also returns the image list. If this method returns a non-zero result, the dropdown bar calls GetEntryImage(Int32, Int32, Int32) instead.

public:
 int GetEntryImage(int iCombo, int iIndex, [Runtime::InteropServices::Out] int % piImageIndex, [Runtime::InteropServices::Out] IntPtr % phImageList);
public int GetEntryImage (int iCombo, int iIndex, out int piImageIndex, out IntPtr phImageList);
abstract member GetEntryImage : int * int * int * nativeint -> int
Public Function GetEntryImage (iCombo As Integer, iIndex As Integer, ByRef piImageIndex As Integer, ByRef phImageList As IntPtr) As Integer

Parameters

iCombo
Int32

The index of the combo box.

iIndex
Int32

The index of the item.

piImageIndex
Int32

[out] The index of the image.

phImageList
IntPtr

nativeint

[out] The pointer to the image list.

Returns

The HRESULT.

Applies to