update_properties method

update_properties(self, specification, value)

Updates known metadata properties satisfying a specification. The operation is recursive so it affects all nested packages as well.

Returns

The number of affected properties.


def update_properties(self, specification, value):
    ...
Parameter Type Description
specification groupdocs.metadata.search.Specification A specification to test each metadata property for a condition.
value groupdocs.metadata.common.PropertyValue A new value for the filtered properties.

Remarks

Please note that GroupDocs.Metadata implicitly checks the type of each filtered property. It’s impossible to update a property with a value having an inappropriate type.

See Also