共用方式為


ImageIdExtensions.ToImageMoniker(ImageId) Method

Definition

Translates an ImageId to an ImageMoniker.

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

Parameters

imageId
ImageId

An image to translate.

Returns

The ImageMoniker that corresponds to this ImageId.

Applies to