DomainRoleInfo.GetAllElementLinks 方法
取得指定的項目參與的所有項目連結的清單。
命名空間: Microsoft.VisualStudio.Modeling
組件: Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
語法
'宣告
Public Shared Function GetAllElementLinks ( _
rolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of ElementLink)
public static ReadOnlyCollection<ElementLink> GetAllElementLinks(
ModelElement rolePlayerElement
)
參數
- rolePlayerElement
類型:Microsoft.VisualStudio.Modeling.ModelElement
元素。
傳回值
類型:System.Collections.ObjectModel.ReadOnlyCollection<ElementLink>
連接至項目之連結的 ReadOnlyCollection<T>。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。