LanguageService::GetSource Method (IVsTextLines^)
Visual Studio 2015
Returns an existing Source object that contains the specified buffer of source.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- buffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] An IVsTextLines object containing the lines of source.
Return Value
Type: Microsoft.VisualStudio.Package::Source^If successful, returns a Source object; otherwise, returns a null value (there is no Source object in this language service that controls that set of source lines).
The language service maintains an internal list of all Source objects created. It is this list that is searched for a Source object that contains the specified IVsTextLines object.
Show: