共用方式為


IVsImageService2.GetImageMonikerForName(String) Method

Definition

Returns the moniker for a named image from IVsImageService.Add().

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

Parameters

imageName
String

The name of the image.

Returns

The image moniker.

Applies to