MetadataPackage.FindProperties method

Finds the metadata properties satisfying the specified predicate. The search is recursive so it affects all nested packages as well.

public virtual IEnumerable<MetadataProperty> FindProperties(Func<MetadataProperty, bool> predicate)
Parameter Type Description
predicate Func`2 A function to test each metadata property for a condition.

Return Value

An IEnumerable that contains properties from the package that satisfy the condition.


Learn more

See Also