IVsTaskProvider2.ImageList(IntPtr) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the image list for the tasks of this task provider.
public:
int ImageList([Runtime::InteropServices::Out] IntPtr % phImageList);
public int ImageList (out IntPtr phImageList);
abstract member ImageList : nativeint -> int
Public Function ImageList (ByRef phImageList As IntPtr) As Integer
- phImageList
-
IntPtr
nativeint
[out, retval] Pointer to hImageList, a handle for this image list.
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.