Share via


IModelMultiRelationship<TFrom, TTo>.InsertElement Method

Inserts a relationship entry (based on an element) at the specified index.

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

Syntax

'Declaration
Function InsertElement ( _
    atIndex As Integer, _
    element As TTo _
) As IModelRelationshipEntry
IModelRelationshipEntry InsertElement(
    int atIndex,
    TTo element
)
IModelRelationshipEntry^ InsertElement(
    int atIndex, 
    TTo element
)
abstract InsertElement : 
        atIndex:int * 
        element:'TTo -> IModelRelationshipEntry 
function InsertElement(
    atIndex : int, 
    element : TTo
) : IModelRelationshipEntry

Parameters

  • element
    Type: TTo
    Specifies the element to be inserted

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