TypeAndMemberDropdownBars::GetEntryImage Method (Int32, Int32, Int32)
Returns the glyph index for the specified entry on the specified combo box.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- combo
-
Type:
System::Int32
[in] The ID of the combo box (0 for the types combo box, 1 for the members combo box).
- entry
-
Type:
System::Int32
[in] The index of the entry for which to get the image index.
- imgIndex
-
Type:
System::Int32
[out] Returns the index in the image list to the glyph for the specified entry. Returns -1 if there is no glyph or the entry does not exist.
The image list the image index applies to is the IImageList object passed to the TypeAndMemberDropdownBars class constructor.
This method is an implementation of the GetEntryImage method on the IVsDropdownBarClient interface.
The base method calls the GetMember method to retrieve the requested entry. If the entry is found, the base method returns the image index from the entry; otherwise, a -1 is returned. The base method always returns a success code of S_OK.