|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpCursorRow Interface > IGpCursorRow.InsertRow Method (ArcObjects .NET 10.5 SDK) | 
Inserts a new row into the data source of the given cursor using the values of this row object.
[Visual Basic .NET] Public Sub InsertRow ( _ ByVal pCursor As ICursor, _ ByVal cursorCookie As Integer _ )
[C#] public void InsertRow ( ICursor pCursor, int cursorCookie );
[C++]
HRESULT InsertRow(
  ICursor* pCursor,
  long cursorCookie
);
[C++]
Parameters pCursor [in]
pCursor is a parameter of type ICursor cursorCookie [in] cursorCookie is a parameter of type long