This document is archived and information here might be outdated.  Recommended version.


IRecordArray.Insert Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRecordArray.Insert Method

Adds a record at the specified position.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal rec As IRecord _
)
[C#]
public void Insert (
    int Index,
    IRecord rec
);
[C++]
HRESULT Insert(
  long Index,
  IRecord* rec
);
[C++]

Parameters Index [in] Index is a parameter of type long rec [in]
rec is a parameter of type IRecord

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRecordArray Interface