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
public object InsertRow (
    IRowBuffer buffer
HRESULT InsertRow(
  IRowBuffer* buffer,


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.


This method should only be called on insert cursors.

See Also

ICursor Interface