IVsTaskProvider::ImageList Method (IntPtr)

 

Returns the image list for the tasks of this task provider.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int ImageList(
	[OutAttribute] IntPtr% phImageList
)

Parameters

phImageList
Type: System::IntPtr

[out, retval] Pointer to hImageList, a handle for this image list.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsTaskProvider::ImageList(
   [out,retval] HANDLE *phImageList
);

Implement this method if you want to include a custom image for the bitmap field of any of the tasks you will be providing, rather than using the _vstaskbitmap enumeration. The images provided through _vstaskbitmap are enumerated as negative integers, and any custom image list that you provide is indexed as a positive integer.

Return to top
Show: