AddProperties
Leave feedback
On this page
Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.
public virtual int AddProperties(Func<MetadataProperty, bool> predicate, PropertyValue value)
| Parameter | Type | Description |
|---|---|---|
| predicate | Func`2 | A function to test each metadata property for a condition. |
| value | PropertyValue | A value for the picked properties. |
The number of affected properties.
Learn more
- More examples demonstrating usages of this method: Adding metadata
- delegate Func<T,TResult>
- class MetadataProperty
- class PropertyValue
- class MetadataPackage
- namespace GroupDocs.Metadata.Common
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.