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

Visual Studio 2015
 

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

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

int GetEntryImage(
	int iCombo,
	int iIndex,
	[OutAttribute] int% piImageIndex,
	[OutAttribute] IntPtr% phImageList
)

Parameters

iCombo
Type: System::Int32

The index of the combo box.

iIndex
Type: System::Int32

The index of the item.

piImageIndex
Type: System::Int32

[out] The index of the image.

phImageList
Type: System::IntPtr

[out] The pointer to the image list.

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: