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


ICursor.InsertRow Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > ICursor Interface > ICursor.InsertRow Method
ArcGIS Developer Help

ICursor.InsertRow Method

Insert a new Row into the database using the property values in the input buffer. The object ID of the new Row, if there is one, is returned.

[Visual Basic .NET]
Public Function InsertRow ( _
    ByVal buffer As IRowBuffer _
) As Object
[C#]
public object InsertRow (
    IRowBuffer buffer
);
[C++]
HRESULT InsertRow(
  IRowBuffer* buffer
);
[C++]
Parameters
buffer [in]

buffer is a parameter of type IRowBuffer*

Product Availability

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

Remarks

This method should only be called on insert cursors.

See Also

ICursor Interface