IVsImageService2::GetIconForFile Method (String^, __VSUIDATAFORMAT)

Visual Studio 2015
 

Gets the icon for the specified file.

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

IVsUIObject^ GetIconForFile(
	String^ filename,
	__VSUIDATAFORMAT desiredFormat
)

Parameters

filename
Type: System::String^

The name of the file.

desiredFormat
Type: Microsoft.VisualStudio.Shell.Interop::__VSUIDATAFORMAT

The desired format.

Return to top
Show: