Method GetItems
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
GetItems(IReadOnlyFileTypeIptcMetadata, IptcPropertyKey)
Gets the property items for the specified path. If no items exist for the given key, an empty list is returned.
public static IEnumerable<IptcPropertyItem> GetItems(this IReadOnlyFileTypeIptcMetadata metadata, IptcPropertyKey key)
Parameters
metadataIReadOnlyFileTypeIptcMetadataThe IPTC metadata container.
keyIptcPropertyKeyThe IPTC property path.
Returns
- IEnumerable<IptcPropertyItem>
The IptcPropertyItems associated with the given key, or an empty list.