Compartilhar via


IVsContainedLanguageColorizer Interface

Definition

Provides colorization for line fragments.

public interface class IVsContainedLanguageColorizer
public interface class IVsContainedLanguageColorizer
__interface IVsContainedLanguageColorizer
[System.Runtime.InteropServices.Guid("88105779-D75B-459E-B7AD-78F63BD40714")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsContainedLanguageColorizer
[System.Runtime.InteropServices.Guid("88105779-D75B-459E-B7AD-78F63BD40714")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsContainedLanguageColorizer
[<System.Runtime.InteropServices.Guid("88105779-D75B-459E-B7AD-78F63BD40714")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsContainedLanguageColorizer = interface
[<System.Runtime.InteropServices.Guid("88105779-D75B-459E-B7AD-78F63BD40714")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsContainedLanguageColorizer = interface
Public Interface IVsContainedLanguageColorizer
Attributes

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.

Methods

ColorizeLineFragment(Int32, Int32, Int32, String, Int32, UInt32, Int32)

Colorizes the specified line fragment or text.

Applies to