Sdílet prostřednictvím


ModelElement.GetRelationships – metoda

Vrátí seznam vztahů, které jsou registrovány v prvku.

Obor názvů:  Microsoft.Data.Schema.SchemaModel
Sestavení:  Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)

Syntaxe

'Deklarace
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>

Vrácená hodnota

Typ: System.Collections.Generic.IList<IModelRelationship>
An IList<T> of type IModelRelationship.

Implementuje

IModelElement.GetRelationships()

Poznámky

Schéma relace jako vždy přechod zleva doprava nebo o prvek související prvku můžete představit.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ModelElement Třída

Microsoft.Data.Schema.SchemaModel – obor názvů

GetRelationship

IModelRelationship