IVsImageService2::GetImageMonikerForHierarchyItem Method (IVsHierarchy^, UInt32, Int32)

Visual Studio 2015
 

Gets the image moniker for the specified hierarchy item.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime (in Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll)

ImageMoniker GetImageMonikerForHierarchyItem(
	IVsHierarchy^ hierarchy,
	unsigned int hierarchyItemID,
	int hierarchyImageAspect
)

Parameters

hierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The hierarchy to retrieve the image for.

hierarchyItemID
Type: System::UInt32

The item within the hierarchy to retrieve the image for.

hierarchyImageAspect
Type: System::Int32

The type of image to retrieve from the hierarchy

Return Value

Type: Microsoft.VisualStudio.Imaging.Interop::ImageMoniker

The moniker representing the current image for the hierarchy.

Return to top
Show: