This document is archived and information here might be outdated. Recommended version. |
Delete the existing Feature in the database corresponding to the current position of the cursor.
[Visual Basic .NET]
Public Sub DeleteFeature ( _
)
[C#] public void DeleteFeature ( );
[C++]
HRESULT DeleteFeature(
void
);
The cursor must be initialized to a feature (with the NextFeature() method) before this method can be successfully called.
This should only be called on update cursors. To delete a feature retrieved from a search cursor, call IFeature.Delete on the feature itself.