Table of Contents

Method TryGetItems

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

TryGetItems(IptcPropertyKey, out IEnumerable<IptcPropertyItem>)

Attempts to get the property items for the specified IPTC property key.

bool TryGetItems(IptcPropertyKey key, out IEnumerable<IptcPropertyItem> items)

Parameters

key IptcPropertyKey

The IPTC property key to get items for.

items IEnumerable<IptcPropertyItem>

When this method returns, contains the property items if found; otherwise, an empty collection.

Returns

bool

true if items were found for the specified key; otherwise, false.