ShapeMapReferencesShape.GetLinks 方法

获取所有在给定的 ShapeMap 和 Shape 之间的 ShapeMapReferencesShape 链接。

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

语法

声明
Public Shared Function GetLinks ( _
    source As ShapeMap, _
    target As Shape _
) As ReadOnlyCollection(Of ShapeMapReferencesShape)
public static ReadOnlyCollection<ShapeMapReferencesShape> GetLinks(
    ShapeMap source,
    Shape target
)

参数

返回值

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

.NET Framework 安全性

请参阅

参考

ShapeMapReferencesShape 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间