ShapeHasDecorators.GetLinks 方法

所有 ShapeHasDecorators 链接给定形状和修饰器之间的访问。

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

语法

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

参数

返回值

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

.NET Framework 安全性

请参见

参考

ShapeHasDecorators 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间