Table of Contents

Method TryGetValues

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

TryGetValues(IptcPropertyKey, out IEnumerable<IptcValue>)

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

bool TryGetValues(IptcPropertyKey key, out IEnumerable<IptcValue> values)

Parameters

key IptcPropertyKey

The IPTC property key to get values for.

values IEnumerable<IptcValue>

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

Returns

bool

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