This document is archived and information here might be outdated. Recommended version. |
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.