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
- atIndex
Type: System.Int32
Specifies the insertion index
- element
Type: TTo
Specifies the element to be inserted
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
Returns a IModelRelationshipEntry.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.