This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > ICursor Interface > ICursor.InsertRow Method (ArcObjects .NET 10.5 SDK) |
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
This method should only be called on insert cursors.