مشاركة عبر


IModelElement.GetRelationship<TFrom, TTo> أسلوب (ModelRelationshipClass)

مساحة الاسم:  Microsoft.Data.Schema.SchemaModel
التجميع:  Microsoft.Data.Schema (في Microsoft.Data.Schema.dll)

بناء الجملة

'إقرار
Function GetRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) ( _
    relationshipClass As ModelRelationshipClass _
) As IModelRelationship(Of TFrom, TTo)
IModelRelationship<TFrom, TTo> GetRelationship<TFrom, TTo>(
    ModelRelationshipClass relationshipClass
)
where TFrom : class, IModelElement
where TTo : class, IModelElement
generic<typename TFrom, typename TTo>
where TFrom : ref class, IModelElement
where TTo : ref class, IModelElement
IModelRelationship<TFrom, TTo>^ GetRelationship(
    ModelRelationshipClass^ relationshipClass
)
abstract GetRelationship : 
        relationshipClass:ModelRelationshipClass -> IModelRelationship<'TFrom, 'TTo>  when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement
لا تدعم JScript الأنواع أو الأساليب العامة.

معلمات النوع

  • TFrom
  • TTo

المعلمات

القيمة المُرجعة

النوع: Microsoft.Data.Schema.SchemaModel.IModelRelationship<TFrom, TTo>

أمن NET Framework.

راجع أيضًَا

المرجع

IModelElement واجهة

IModelElement الأعضاء

GetRelationship التحميل الزائد

Microsoft.Data.Schema.SchemaModel مساحة الاسم