TaskProvider::Navigate Method (Task^, Guid)

 

Navigates from the task to the correct position in the document, shown in the specified logical view.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
bool Navigate(
	Task^ task,
	Guid logicalView
)

Parameters

task
Type: Microsoft.VisualStudio.Shell::Task^

The task from which to do the navigation.

logicalView
Type: System::Guid

The logical view in which to display the document.

Return Value

Type: System::Boolean

true if it was possible to perform the navigation, otherwise false.

This method opens the document referenced by task in the specified logical view and puts the cursor at the beginning of the line.

Return to top
Show: