Task.IVsTaskItem.NavigateTo Method
Opens a file associated with a task and moves to the appropriate position in the file.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Private Function NavigateTo As Integer
Implements IVsTaskItem.NavigateTo
int IVsTaskItem.NavigateTo()
Return Value
Type: System.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.