Share via


ImageLibrary.RemoveCustomImage(IImageHandle) Method

Definition

Removes a custom image from the library. The image must have been added by AddCustomImage.

public:
 bool RemoveCustomImage(Microsoft::VisualStudio::Imaging::Interop::IImageHandle ^ handle);
public:
 bool RemoveCustomImage(Microsoft::VisualStudio::Imaging::Interop::IImageHandle ^ handle);
bool RemoveCustomImage(Microsoft::VisualStudio::Imaging::Interop::IImageHandle const & handle);
public bool RemoveCustomImage (Microsoft.VisualStudio.Imaging.Interop.IImageHandle handle);
member this.RemoveCustomImage : Microsoft.VisualStudio.Imaging.Interop.IImageHandle -> bool
Public Function RemoveCustomImage (handle As IImageHandle) As Boolean

Parameters

handle
IImageHandle

The handle of the image to remove.

Returns

True if the image was removed, false otherwise.

Applies to