共用方式為


ModelElementLocator.NavigateTo 方法

包含受保護的成員
包含繼承的成員

這個成員是多載的。如需這個成員的完整資訊,包含語法、使用方式和範例,請按一下多載清單中的名稱。

多載清單

  名稱 描述
公用方法 NavigateTo(Guid, Diagram) 開啟指定的圖表。
公用方法 NavigateTo(Guid, ShapeElement) 顯示並選取指定的圖案。
公用方法 NavigateTo(Guid, Diagram, ICollection<DiagramItem>) 顯示目標圖表,並選取目標圖案。清單中的第一個圖案是主要選取項目。
公用方法 NavigateTo(Guid, DiagramItem, ICollection<DiagramItem>) 顯示 targetShape 的圖表,並選取圖案 (延伸選取範圍以包括 extendedSelection)。
公用方法 NavigateTo(Guid, DiagramItem, ICollection<DiagramItem>, Boolean) 顯示 targetShape 的圖表,並視需要選取圖案 (延伸選取範圍以包括 extendedSelection)。

回頁首

請參閱

參考

ModelElementLocator 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間