共用方式為


ImageLibrary.GetImage(ImageMoniker, ImageAttributes) Method

Definition

Returns an image conforming to attributes from the library

public:
 System::Object ^ GetImage(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker moniker, Microsoft::VisualStudio::Imaging::Interop::ImageAttributes attributes);
winrt::Windows::Foundation::IInspectable GetImage(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker moniker, Microsoft::VisualStudio::Imaging::Interop::ImageAttributes attributes);
public object GetImage (Microsoft.VisualStudio.Imaging.Interop.ImageMoniker moniker, Microsoft.VisualStudio.Imaging.Interop.ImageAttributes attributes);
member this.GetImage : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * Microsoft.VisualStudio.Imaging.Interop.ImageAttributes -> obj
Public Function GetImage (moniker As ImageMoniker, attributes As ImageAttributes) As Object

Parameters

moniker
ImageMoniker

The moniker for the image

attributes
ImageAttributes

The attributes describing the desired image

Returns

The requested image

Applies to