DocumentTask::OnNavigate Method (EventArgs^)

 

Loads the document that is associated with the error and jumps to the location of the error.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

protected:
virtual void OnNavigate(
	EventArgs^ e
) override

Parameters

e
Type: System::EventArgs^

[in] An EventArgs object (which in this case does not contain any information and is used only as a placeholder in a delegate object).

This method opens the filename that is specified in the DocumentTask class constructor, selects the text described in the span (either from the IVsTextLineMarker object or the TextSpan object that was passed to the DocumentTask class constructor), and ensures that the selection is visible in the display.

Return to top
Show: