ArcObjects Library Reference (GeoDatabase)  

ICursor.DeleteRow Method

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
);

Product Availability

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

Remarks

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.

See Also

ICursor Interface