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
المعلمات
- relationshipClass
النوع: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
القيمة المُرجعة
النوع: Microsoft.Data.Schema.SchemaModel.IModelRelationship<TFrom, TTo>
أمن NET Framework.
- الثقة الكاملة للمتصل الفوري. يتعذر استخدام هذا العضو بواسطة التعليمات البرمجية الموثوق بها جزئيًا. لمزيد من المعلومات، راجع باستخدام مكتبات من تعليمات برمجية موثوق بها جزئي.