Source Constructor (LanguageService^, IVsTextLines^, Colorizer^)
Visual Studio 2015
Initializes a new instance of the Source class.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- service
-
Type:
Microsoft.VisualStudio.Package::LanguageService^
The LanguageService object representing the language service that controls this instance. This is required and cannot be null.
- textLines
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
The IVsTextLines object representing the source file. This is required and cannot be null.
- colorizer
-
Type:
Microsoft.VisualStudio.Package::Colorizer^
The Colorizer object to use for syntax highlighting. This is required and cannot be null.
The Source class -- or your derivation of this class -- is instantiated in your implementation of the CreateSource method. If you derive from the Source class, be sure to call the base constructor.
Show: