ArcObjects Library Reference (GeoDatabase)  

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,
  VARIANT* OID
);
[C++]

Parameters

buffer [in]

  buffer is a parameter of type IRowBuffer

OID [out, retval]   OID is a parameter of type VARIANT

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