Compartir a través de


IVsColorizer Interface

Implemented by the language client to assign color attributes to a span of text.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaración
<InterfaceTypeAttribute()> _
<GuidAttribute("6698EF11-FF17-441C-8C5D-BC24A339B37D")> _
Public Interface IVsColorizer
'Uso
Dim instance As IVsColorizer
[InterfaceTypeAttribute()]
[GuidAttribute("6698EF11-FF17-441C-8C5D-BC24A339B37D")]
public interface IVsColorizer
[InterfaceTypeAttribute()]
[GuidAttribute(L"6698EF11-FF17-441C-8C5D-BC24A339B37D")]
public interface class IVsColorizer
[<InterfaceTypeAttribute()>]
[<GuidAttribute("6698EF11-FF17-441C-8C5D-BC24A339B37D")>]
type IVsColorizer =  interface end
public interface IVsColorizer

Remarks

Notes to Implementers

Implement this interface when you wish to support syntax colorization.

IVsColorizer should be implemented on a separate object in your language service. For more information, see Syntax Coloring.

Notes to Callers

This interface is obtained by calling the GetColorizer method in the IVsLanguageInfo interface. An editor obtains the IVsColorizer object from the language service to provide support for syntax highlighting. The language service itself may use its own colorizer to aid in support of more complex features such as the IntelliSense member completion lists and brace matching.

See Also

Reference

IVsColorizer Members

Microsoft.VisualStudio.TextManager.Interop Namespace