EntitySet<TEntity>.Insert method
Inserts a specified entity into the EntitySet<TEntity> at the specified index.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
item As TEntity _
)
'Usage
Dim instance As EntitySet
Dim index As Integer
Dim item As TEntity
instance.Insert(index, item)
public void Insert(
int index,
TEntity item
)
Parameters
index
Type: System.Int32The point in the collection where the new entity is inserted.
item
Type: TEntityThe entity that is inserted.