Share via


IVsImageService2.GetImageMonikerForFile(String) Method

Definition

Gets the image moniker for the specified file.

public:
 Microsoft::VisualStudio::Imaging::Interop::ImageMoniker GetImageMonikerForFile(System::String ^ filename);
Microsoft::VisualStudio::Imaging::Interop::ImageMoniker GetImageMonikerForFile(std::wstring const & filename);
public Microsoft.VisualStudio.Imaging.Interop.ImageMoniker GetImageMonikerForFile (string filename);
abstract member GetImageMonikerForFile : string -> Microsoft.VisualStudio.Imaging.Interop.ImageMoniker
Public Function GetImageMonikerForFile (filename As String) As ImageMoniker

Parameters

filename
String

The file name.

Returns

The image moniker.

Applies to