ShapeElement.NavigateTo 方法

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Protected Function NavigateTo ( _
    newFocusItem As DiagramItem, _
    selection As SelectedShapesCollection _
) As Boolean
protected bool NavigateTo(
    DiagramItem newFocusItem,
    SelectedShapesCollection selection
)

参数

返回值

类型:System.Boolean
如果选择的焦点发生变更,则为 true;否则为 false。

备注

SelectedShapesCollection 是 DiagramItems 的集合。 DiagramItem 可以引用 ShapeElement;也可以在 ShapeElement 中的 ShapeField;也可以在 LinkShape 中的 LineSegment。

.NET Framework 安全性

请参阅

参考

ShapeElement 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间