LanguageService.GetSource Method
Include Protected Members
Include Inherited Members
Return a Source object.
Overload List
Name | Description | |
---|---|---|
GetSource(IVsTextLines) | Returns an existing Source object that contains the specified buffer of source. | |
GetSource(IVsTextView) | Returns an existing Source object that contains the source file shown in the specified text view. | |
GetSource(String) | Returns an existing Source object given a file name. |
Top
Remarks
A Source object represents a source file. Source contains all the necessary elements to initiate and control a parse of the source file, asynchronously or synchronously. A Source object also controls various features that change the source such as commenting and uncommenting blocks of code, using the Task List to show errors, match braces (and other such language features), format parameter info ToolTips (for completion of methods), and outlining. All of these features are supported in the base class.