IScanner::SetSource Method (String^, Int32)
Visual Studio 2015
Sets the line to be parsed.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- source
-
Type:
System::String^
[in] The line to be tokenized.
- offset
-
Type:
System::Int32
[in] The character offset into the line to start parsing. You must pay attention to this value.
Language service scanning is always done on a line-by-line basis. This method is called to set the line to be parsed by subsequent calls to the ScanTokenAndProvideInfoAboutIt method.
Show: