ImageIdExtensions.ToImageId(ImageMoniker) Method

Definition

Translates an ImageMoniker to an ImageId.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Core::Imaging::ImageId ToImageId(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker imageMoniker);
public static Microsoft.VisualStudio.Core.Imaging.ImageId ToImageId (this Microsoft.VisualStudio.Imaging.Interop.ImageMoniker imageMoniker);
static member ToImageId : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker -> Microsoft.VisualStudio.Core.Imaging.ImageId
<Extension()>
Public Function ToImageId (imageMoniker As ImageMoniker) As ImageId

Parameters

imageMoniker
ImageMoniker

An image to translate.

Returns

The ImageId that corresponds to this ImageId.

Applies to