ModelElement.GetRelationships Yöntem
Öğesinde kaydedilen ilişkilerin bir listesini döndürür.
Ad alanı: Microsoft.Data.Schema.SchemaModel
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
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>
Dönüş Değeri
Tür: System.Collections.Generic.IList<IModelRelationship>
An IList<T> of type IModelRelationship.
Yüklenen
IModelElement.GetRelationships()
Açıklamalar
Bir şema ilişkisi her zaman soldan sağa veya ilgili öğe ile ilgili öğeye gitme olarak düşünebilirsiniz.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.