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
keyIptcPropertyKeyThe IPTC property key to get items for.
itemsIEnumerable<IptcPropertyItem>When this method returns, contains the property items if found; otherwise, an empty collection.
Returns
- bool
trueif items were found for the specified key; otherwise,false.