Table of Contents

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

metadata IReadOnlyFileTypeIptcMetadata

The IPTC metadata container.

key IptcPropertyKey

The IPTC property path.

Returns

IEnumerable<IptcPropertyItem>

The IptcPropertyItems associated with the given key, or an empty list.