共用方式為


Task.IVsTaskItem.NavigateTo Method

Definition

Opens a file associated with a task and moves to the appropriate position in the file.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.NavigateTo() = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::NavigateTo;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.NavigateTo() = Microsoft::VisualStudio::Shell::Interop::IVsTaskItem::NavigateTo;
int Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.NavigateTo();
int IVsTaskItem.NavigateTo ();
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.NavigateTo : unit -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskItem.NavigateTo : unit -> int
Function NavigateTo () As Integer Implements IVsTaskItem.NavigateTo

Returns

S_OK.

Implements

Remarks

Implement this method to bring up the file, highlight the line, and place the cursor at the appropriate column in the file if the task item is associated with a particular position in a file.

Applies to