LanguageService.GetItemCount Method (Int32)
Returns the number of custom colorable items supported by the language service.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
This method determines the maximum number of IVsColorableItem objects that can be accessed by GetColorableItem. If you support custom colorable items, you must derive a class from the LanguageService class and implement this method as well as GetColorableItem.
The base method always returns E_NOTIMPL, indicating that custom colorable items are not supported. In this case, Visual Studio uses the default colors for all colorable items.