共用方式為


IVsFontsAndColorsInformation Interface

Represents color information for a language service.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'宣告
Public Interface IVsFontsAndColorsInformation
public interface IVsFontsAndColorsInformation
public interface class IVsFontsAndColorsInformation
type IVsFontsAndColorsInformation =  interface end
public interface IVsFontsAndColorsInformation

The IVsFontsAndColorsInformation type exposes the following members.

Methods

  Name Description
Public method AddLanguageService Adds an additional language service that contributes to coloring information.
Public method GetClassificationType Gets the type used by the language service classifier for the colorable item at the specified index.
Public method GetFontAndColorPreferences Gets the FONTCOLORPREFERENCES2 of the language service.

Top

Events

  Name Description
Public event Updated Raised when color information for the language service is changed.

Top

See Also

Reference

Microsoft.VisualStudio.Editor Namespace