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 ( _
public void DeleteRow (
HRESULT DeleteRow(

Product Availability

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


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