MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT32 MgFeatureService::UpdateMatchingFeatures ( MgResourceIdentifier resource,
CREFSTRING  className,
MgPropertyCollection properties,
CREFSTRING  filter,
MgTransaction trans 
) [pure virtual]

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

.NET Syntax
virtual int UpdateMatchingFeatures(MgResourceIdentifier resource, string className, MgPropertyCollection properties, string filter, MgTransaction trans);
Java Syntax
virtual int UpdateMatchingFeatures(MgResourceIdentifier resource, String className, MgPropertyCollection properties, String filter, MgTransaction trans);
PHP Syntax
virtual int UpdateMatchingFeatures(MgResourceIdentifier resource, String className, MgPropertyCollection properties, 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 update operation is performed.
properties(MgBatchPropertyCollection) The property values to update matching features with
filter(String/string) The FDO filter string that detemines what features will be updated
trans(MgTransaction) The transaction to execute this operation under
Returns:
Returns the number of features updated by this operation
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgInvalidOperationException
MgFdoException
Since:
3.0