共用方式為


DomainRoleInfo.GetElementLinks<T> 方法 (ModelElement)

取得連結至角色的項目清單。

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

語法

'宣告
Public Function GetElementLinks(Of T As ElementLink) ( _
    rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of T)
public ReadOnlyCollection<T> GetElementLinks<T>(
    ModelElement rolePlayerElement
)
where T : ElementLink

類型參數

  • T
    連結的類型。

參數

傳回值

類型:System.Collections.ObjectModel.ReadOnlyCollection<T>
連結的 ReadOnlyCollection<T>

.NET Framework 安全性

請參閱

參考

DomainRoleInfo 類別

GetElementLinks 多載

Microsoft.VisualStudio.Modeling 命名空間