다음을 통해 공유


TaskProvider.Navigate Method

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

‘선언
Public Function Navigate ( _
    task As Task, _
    logicalView As Guid _
) As Boolean
‘사용 방법
Dim instance As TaskProvider
Dim task As Task
Dim logicalView As Guid
Dim returnValue As Boolean

returnValue = instance.Navigate(task, _
    logicalView)
public bool Navigate(
    Task task,
    Guid logicalView
)
public:
bool Navigate(
    Task^ task, 
    Guid logicalView
)
member Navigate : 
        task:Task * 
        logicalView:Guid -> bool 
public function Navigate(
    task : Task, 
    logicalView : Guid
) : boolean

Parameters

  • 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.

Remarks

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

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace