IModelElement.GetRelationship<TRelating, TRelated> メソッド (RelationshipClass)
要求されたリレーションシップを返します。
名前空間 : Microsoft.Data.Schema.SchemaModel
アセンブリ : Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Function GetRelationship(Of TRelating As {Class, IModelElement}, TRelated As {Class, IModelElement}) ( _
relationshipSetClass As RelationshipClass _
) As IModelRelationship(Of TRelating, TRelated)
'使用
Dim instance As IModelElement
Dim relationshipSetClass As RelationshipClass
Dim returnValue As IModelRelationship(Of TRelating, TRelated)
returnValue = instance.GetRelationship(relationshipSetClass)
IModelRelationship<TRelating, TRelated> GetRelationship<TRelating, TRelated>(
RelationshipClass relationshipSetClass
)
where TRelating : class, IModelElement
where TRelated : class, IModelElement
generic<typename TRelating, typename TRelated>
where TRelating : ref class, IModelElement
where TRelated : ref class, IModelElement
IModelRelationship<TRelating, TRelated>^ GetRelationship(
RelationshipClass^ relationshipSetClass
)
JScript では、ジェネリックな型またはメソッドは使用できません。
型パラメータ
- TRelating
- TRelated
パラメータ
- relationshipSetClass
型 : Microsoft.Data.Schema.SchemaModel.RelationshipClass
リレーションシップのクラス
戻り値
型 : Microsoft.Data.Schema.SchemaModel.IModelRelationship<TRelating, TRelated>
IModelRelationship<TRelating, TRelated> を返します。