AddProperties

MetadataPackage.AddProperties method

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.

Return Value

The number of affected properties.

Remarks

Learn more

See Also