ParentShapeHasRelativeChildShapes.GetLinks 方法

所有 ParentShapeHasRelativeChildShapes 链接特定 ShapeElement 和 ShapeElement 之间的访问。

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

语法

声明
Public Shared Function GetLinks ( _
    source As ShapeElement, _
    target As ShapeElement _
) As ReadOnlyCollection(Of ParentShapeHasRelativeChildShapes)
public static ReadOnlyCollection<ParentShapeHasRelativeChildShapes> GetLinks(
    ShapeElement source,
    ShapeElement target
)

参数

返回值

类型:System.Collections.ObjectModel.ReadOnlyCollection<ParentShapeHasRelativeChildShapes>

.NET Framework 安全性

请参见

参考

ParentShapeHasRelativeChildShapes 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间