Share via


IBabelService::GetImageList Method

Returns a set of custom icons.

HRESULT GetImageList ( 
   long* imageListHandle,
   long* glyphCount
);

Parameters

  • imageListHandle
    [out] Returns an HIMAGELIST handle to the image list.

  • glyphCount
    [out] Returns a count of images in the image list.

Return Value

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

Remarks

The image list returned by this method contains a list of icons that are used in IntelliSense completion lists to provide a visual indicator of what kind of items appear in the list. For example, icons are used to distinguish between methods, properties, and types. The icon (or glyph) index for any identifier is set in the parser by a call to the IParseSink::AddScope Method.

If any error code (such as E_NOTIMPL) is returned, the default glyphs are used. The default icons are listed in Babel Icons.

See Also

Concepts

Babel Icons

Reference

IBabelService Interface

IParseSink::AddScope Method