MetadataPackageAddProperties Method
Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.

Namespace: GroupDocs.Metadata.Common
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.6
Syntax
public int AddProperties(
	Func<MetadataProperty, bool> predicate,
	PropertyValue value
)

Parameters

predicate
Type: GroupDocs.Metadata.CommonFuncMetadataProperty, Boolean
A function to test each metadata property for a condition.
value
Type: GroupDocs.Metadata.CommonPropertyValue
A value for the picked properties.

Return Value

Type: Int32
The number of affected properties.
Remarks
Learn more
See Also