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.DeleteRow Method (ArcObjects .NET 10.5 SDK) |
Delete the existing Row in the database corresponding to the current position of the cursor.
[Visual Basic .NET]
Public Sub DeleteRow ( _
)
[C#] public void DeleteRow ( );
[C++]
HRESULT DeleteRow(
void
);
The cursor must be initialized to a row (with the NextRow method) before this method can be successfully called.
This should only be called on update cursors. To delete a row retrieved from a search cursor, call IRow.Delete on the row itself.