Deletes all features that match the given filter.
.NET Syntax
|
virtual int DeleteFeatures(MgResourceIdentifier resource, string className, string filter, MgTransaction trans);
|
Java Syntax
|
virtual int DeleteFeatures(MgResourceIdentifier resource, String className, String filter, MgTransaction trans);
|
PHP Syntax
|
virtual int DeleteFeatures(MgResourceIdentifier resource, String className, String filter, MgTransaction trans);
|
- Parameters:
-
| resource | (MgResourceIdentifier) A resource identifier for the feature source. |
| className | (String/string) The name of the feature class on which the delete operation is performed. |
| filter | (String/string) The FDO filter string that detemines what features will be deleted |
| trans | (MgTransaction) The transaction to execute this operation under |
- Returns:
- Returns the number of features deleted by this operation
- Exceptions:
-
- Since:
- 3.0