ModelElement.GetRelationships-Methode

Gibt eine Liste mit Beziehungen zurück, die im Element registriert sind.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function GetRelationships As IList(Of IModelRelationship)
public IList<IModelRelationship> GetRelationships()
public:
virtual IList<IModelRelationship^>^ GetRelationships() sealed
abstract GetRelationships : unit -> IList<IModelRelationship> 
override GetRelationships : unit -> IList<IModelRelationship> 
public final function GetRelationships() : IList<IModelRelationship>

Rückgabewert

Typ: System.Collections.Generic.IList<IModelRelationship>
Eine IList<T> vom Typ IModelRelationship.

Implementiert

IModelElement.GetRelationships()

Hinweise

Sie können sich eine Schemabeziehung als immer von links nach rechts verlaufend vorstellen oder vom verknüpfenden Element zum verknüpften Element.

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelElement Klasse

Microsoft.Data.Schema.SchemaModel-Namespace

GetRelationship

IModelRelationship