共用方式為


ImageLibrary.AddCustomImageList(ImageMoniker[]) Method

Definition

Adds a custom image list to the library

public:
 Microsoft::VisualStudio::Imaging::Interop::IImageHandle ^ AddCustomImageList(cli::array <Microsoft::VisualStudio::Imaging::Interop::ImageMoniker> ^ imageEntryMonikers);
Microsoft::VisualStudio::Imaging::Interop::IImageHandle AddCustomImageList(std::Array <Microsoft::VisualStudio::Imaging::Interop::ImageMoniker> const & imageEntryMonikers);
public Microsoft.VisualStudio.Imaging.Interop.IImageHandle AddCustomImageList (Microsoft.VisualStudio.Imaging.Interop.ImageMoniker[] imageEntryMonikers);
member this.AddCustomImageList : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker[] -> Microsoft.VisualStudio.Imaging.Interop.IImageHandle
Public Function AddCustomImageList (imageEntryMonikers As ImageMoniker()) As IImageHandle

Parameters

imageEntryMonikers
ImageMoniker[]

The monikers for the images that make up the image list

Returns

An IImageHandle that can be used to delete or retrieve the image list.

Applies to