PresentationViewsSubject.GetLinks 方法

所有 PresentationViewsSubject 链接特定 PresentationElement 和 ModelElement 之间的访问。

命名空间:  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 PresentationElement, _
    target As ModelElement _
) As ReadOnlyCollection(Of PresentationViewsSubject)
public static ReadOnlyCollection<PresentationViewsSubject> GetLinks(
    PresentationElement source,
    ModelElement target
)

参数

返回值

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

备注

不应有超出此关系的链接两个对象之间的。 请改用 GetLink

.NET Framework 安全性

请参见

参考

PresentationViewsSubject 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间