DocumentTask.OnNavigate(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the document that is associated with the error and jumps to the location of the error.
protected:
override void OnNavigate(EventArgs ^ e);
protected override void OnNavigate (EventArgs e);
override this.OnNavigate : EventArgs -> unit
Protected Overrides Sub OnNavigate (e As EventArgs)
Parameters
[in] An EventArgs object (which in this case does not contain any information and is used only as a placeholder in a delegate object).
Remarks
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.