IVsTaskProvider2::ImageList Method (IntPtr)
Visual Studio 2015
Returns the image list for the tasks of this task provider.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- phImageList
-
Type:
System::IntPtr
[out, retval] Pointer to hImageList, a handle for this image list.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskProvider::ImageList(IntPtr)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.
Show: