共用方式為


IModelElement.GetRelationships 方法

傳回這個項目中的關聯性清單。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Function GetRelationships As IList(Of IModelRelationship)
IList<IModelRelationship> GetRelationships()
IList<IModelRelationship^>^ GetRelationships()
abstract GetRelationships : unit -> IList<IModelRelationship> 
function GetRelationships() : IList<IModelRelationship>

傳回值

型別:System.Collections.Generic.IList<IModelRelationship>
型別為 IModelRelationshipEntryIList<T>

.NET Framework 安全性

請參閱

參考

IModelElement 介面

Microsoft.Data.Schema.SchemaModel 命名空間

IModelRelationshipEntry