Share via


IModelMultiRelationship<TFrom, TTo>.AddElement Method

Adds a relationship entry (based on an element) to the end of the relationship.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Function AddElement ( _
    element As TTo _
) As IModelRelationshipEntry
IModelRelationshipEntry AddElement(
    TTo element
)
IModelRelationshipEntry^ AddElement(
    TTo element
)
abstract AddElement : 
        element:'TTo -> IModelRelationshipEntry 
function AddElement(
    element : TTo
) : IModelRelationshipEntry

Parameters

  • element
    Type: TTo
    The element to be added

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
Returns a IModelRelationshipEntry.

.NET Framework Security

See Also

Reference

IModelMultiRelationship<TFrom, TTo> Interface

Microsoft.Data.Schema.SchemaModel Namespace