获取链接到此角色的元素的列表。
命名空间: Microsoft.VisualStudio.Modeling
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
语法
声明
Public Function GetLinkedElements ( _
rolePlayerElement As ModelElement _
) As LinkedElementCollection(Of ModelElement)
public LinkedElementCollection<ModelElement> GetLinkedElements(
ModelElement rolePlayerElement
)
参数
- rolePlayerElement
类型:Microsoft.VisualStudio.Modeling.ModelElement
分配了这个角色的元素。
返回值
类型:Microsoft.VisualStudio.Modeling.LinkedElementCollection<ModelElement>
在该元素参与的链接中其起相反作用的元素链接的集合。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。