MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT32 MgLayer::UpdateMatchingFeatures ( MgPropertyCollection properties,
CREFSTRING  filter,
MgTransaction transaction 
) [virtual]

Updates all features that match the given filter with the specified property values.

.NET Syntax
virtual int UpdateMatchingFeatures(MgPropertyCollection properties, string filter);
Java Syntax
virtual int UpdateMatchingFeatures(MgPropertyCollection properties, String filter);
PHP Syntax
virtual int UpdateMatchingFeatures(MgPropertyCollection properties, String filter);
Parameters:
properties(MgBatchPropertyCollection) The property values to update matching features with
filter(String/string) The FDO filter string that detemines what features will be updated
transaction(MgTransaction) An optional transaction to execute this operation under
Returns:
Returns the number of features updated by this operation
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgInvalidOperationException
MgFdoException
Since:
3.0

Reimplemented from MgLayerBase.