共用方式為


ModelElementLocator.NavigateTo 方法 (Guid, Diagram, ICollection<DiagramItem>)

顯示目標圖表,並選取目標圖案。 清單中的第一個圖案是主要選取項目。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

語法

'宣告
Public Function NavigateTo ( _
    logicalView As Guid, _
    targetDiagram As Diagram, _
    targetSelection As ICollection(Of DiagramItem) _
) As Boolean
public bool NavigateTo(
    Guid logicalView,
    Diagram targetDiagram,
    ICollection<DiagramItem> targetSelection
)

參數

傳回值

類型:System.Boolean

.NET Framework 安全性

請參閱

參考

ModelElementLocator 類別

NavigateTo 多載

Microsoft.VisualStudio.Modeling.Shell 命名空間