AuthoringSink::StartName Method (TextSpan, String^)
Visual Studio 2015
Called when an identifier is parsed.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSpan
[in] A TextSpan object indicating the location of the identifier.
- name
-
Type:
System::String^
[in] The name of the identifier.
If the FindNames property returns true, this method is called to add the identifier's name and its location to internal lists. This method is typically called while parsing a method's parameter list.
The base method validates the TextSpan object and then if the identifier's location contains the starting point of the parse operation, adds the name and location to two internal lists called Names and SourceLocations, respectively.
Show: