MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT32 MgLayerBase::DeleteFeatures ( CREFSTRING  filter,
MgTransaction transaction 
) [virtual]

Deletes all features that match the given filter.

Remarks:
Transactions will be used internally if the provider supports them
.NET Syntax
virtual int DeleteFeatures(string filter);
Java Syntax
virtual int DeleteFeatures(String filter);
PHP Syntax
virtual int DeleteFeatures(String filter);
Parameters:
filter(String/string) The FDO filter string that detemines what features will be deleted
transaction(MgTransaction) An optional transaction to execute this operation under
Returns:
Returns the number of features deleted by this operation
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgInvalidOperationException
MgFdoException
Since:
3.0

Reimplemented in MgLayer.