Compartilhar via


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

'Declaração
Private Function NavigateTo As Integer
    Implements IVsTaskItem.NavigateTo
int IVsTaskItem.NavigateTo()

Return Value

Type: System.Int32
S_OK .

Implements

IVsTaskItem.NavigateTo()

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

See Also

Reference

Task Class

Microsoft.VisualStudio.Shell Namespace