IVsContainedLanguageColorizer Interface
Provides colorization for line fragments.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("88105779-D75B-459E-B7AD-78F63BD40714")> _
Public Interface IVsContainedLanguageColorizer
[InterfaceTypeAttribute()]
[GuidAttribute("88105779-D75B-459E-B7AD-78F63BD40714")]
public interface IVsContainedLanguageColorizer
[InterfaceTypeAttribute()]
[GuidAttribute(L"88105779-D75B-459E-B7AD-78F63BD40714")]
public interface class IVsContainedLanguageColorizer
[<InterfaceTypeAttribute()>]
[<GuidAttribute("88105779-D75B-459E-B7AD-78F63BD40714")>]
type IVsContainedLanguageColorizer = interface end
public interface IVsContainedLanguageColorizer
The IVsContainedLanguageColorizer type exposes the following members.
Methods
Name | Description | |
---|---|---|
ColorizeLineFragment | Colorizes the specified line fragment or text. |
Top
Remarks
This interface represents a colorizer to be used for code blocks that are contained within a larger document. An implementation of this interface typically refers to the secondary buffer associated with a contained language in order to complete the colorization of a line.
Notes to Implementers
This interface is typically implemented on the same object that implements a language service's primary colorizer.
Notes to Callers
This interface is typically obtained by calling the QueryInterface method on an IVsColorizer object or casting the IVsColorizer object to the IVsContainedLanguageColorizer interface.