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

显示 targetShape 的关系图并选择形状 (选择可扩展为包含 extendedSelection。)

命名空间:  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, _
    diagramItem As DiagramItem, _
    extendedSelection As ICollection(Of DiagramItem) _
) As Boolean
public bool NavigateTo(
    Guid logicalView,
    DiagramItem diagramItem,
    ICollection<DiagramItem> extendedSelection
)

参数

返回值

类型:System.Boolean

.NET Framework 安全性

请参阅

参考

ModelElementLocator 类

NavigateTo 重载

Microsoft.VisualStudio.Modeling.Shell 命名空间