IVsImageService2.GetImageMonikerForHierarchyItem Method

Definition

Gets the image moniker for the specified hierarchy item.

public:
 Microsoft::VisualStudio::Imaging::Interop::ImageMoniker GetImageMonikerForHierarchyItem(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 hierarchyItemID, int hierarchyImageAspect);
Microsoft::VisualStudio::Imaging::Interop::ImageMoniker GetImageMonikerForHierarchyItem(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & hierarchy, unsigned int hierarchyItemID, int hierarchyImageAspect);
public Microsoft.VisualStudio.Imaging.Interop.ImageMoniker GetImageMonikerForHierarchyItem (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint hierarchyItemID, int hierarchyImageAspect);
abstract member GetImageMonikerForHierarchyItem : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * int -> Microsoft.VisualStudio.Imaging.Interop.ImageMoniker
Public Function GetImageMonikerForHierarchyItem (hierarchy As IVsHierarchy, hierarchyItemID As UInteger, hierarchyImageAspect As Integer) As ImageMoniker

Parameters

hierarchy
IVsHierarchy

The hierarchy to retrieve the image for.

hierarchyItemID
UInt32

The item within the hierarchy to retrieve the image for.

hierarchyImageAspect
Int32

The type of image to retrieve from the hierarchy

Returns

The moniker representing the current image for the hierarchy.

Applies to