ImageIdExtensions.ToImageId(ImageMoniker) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.