Insert Method

EntitySet<TEntity>.Insert Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Inserts an entity at an index position.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public void Insert(
	int index,
	TEntity entity
)

Parameters

index
Type: System.Int32
The index representing the position at which to insert the entity.
entity
Type: TEntity
The entity to be inserted.

Implements

IList<T>.Insert(Int32, T)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft