共用方式為


IVsImageService2.GetImage(ImageMoniker, ImageAttributes) Method

Definition

Gets the image with the specified moniker and attributes.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ GetImage(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker moniker, Microsoft::VisualStudio::Imaging::Interop::ImageAttributes attributes);
Microsoft::VisualStudio::Shell::Interop::IVsUIObject GetImage(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker moniker, Microsoft::VisualStudio::Imaging::Interop::ImageAttributes attributes);
public Microsoft.VisualStudio.Shell.Interop.IVsUIObject GetImage (Microsoft.VisualStudio.Imaging.Interop.ImageMoniker moniker, Microsoft.VisualStudio.Imaging.Interop.ImageAttributes attributes);
abstract member GetImage : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * Microsoft.VisualStudio.Imaging.Interop.ImageAttributes -> Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Public Function GetImage (moniker As ImageMoniker, attributes As ImageAttributes) As IVsUIObject

Parameters

moniker
ImageMoniker

The moniker for the image.

attributes
ImageAttributes

The attributes of the image.

Returns

The image.

Applies to