Assembly: Microsoft.VisualStudio.Package.LanguageService (in microsoft.visualstudio.package.languageservice.dll)
[in] A value from theenumeration specifying the type of "go to" command to execute. Expected values are , , and .
This method is called to handle a "go to" command. This method is responsible for obtaining the appropriate uniform resource identifier (URI) from the parser and then loading the requested document.
The base method calls themethod on the object passed to the constructor to obtain the current caret position. This position is then passed to the method on the object (obtained from the object in the ViewFilter constructor). If OnSyncGoto returned a valid URI then the URI is passed to the helper method in the class to open the document. If the document is successfully opened, the method is called followed by the method to show the destination span in the loaded file.
In the default managed package framework implementation of the language service classes, this method is called from themethod.