IVsCompletionSet::GetImageList Method (IntPtr)
Visual Studio 2015
Returns the list of images (glyphs) supported by the completion set.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- phImages
-
Type:
System::IntPtr
[out] Returns a handle to the image list associated with the completion set.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsCompletionSet::GetImageList( [out] HANDLE *phImages );
This method returns the entire list (as represented by a handle to an image list) of images supported by a completion set. To specify which image is associated with a particular completion set item, return the appropriate image number for the piGlyph parameter in GetDisplayText.
In managed code, the image list is typically contained in an instance of ImageList and the handle can be obtained by accessing the Handle property.
Show: