Gets the values of all matching fields.
Syntax

[C#]

string Values(string inField, string inDelimiter);

[Visual Basic]

Function Values(inField As String, inDelimiter As String) As String
Params
Name Description
inField The field to be queried.
inDelimiter The delimiter used to separate items.
return The values of all matching fields.
Notes

This function returns the text values of all matching fields delimited using the delimiter supplied. You can use this property for easy access to the data contained in multiple value fields like keywords.

For details of the way in which IPTC items can be referred to by name see Add.

See Also

Item[Int32]

Item[String]

Value

Example

[C#]XImageLoadOptions loadOptions = new XImageLoadOptions();
loadOptions.ReadIPTC = true;
XImage image = XImage.FromFile(Server.MapPath("rez/iptc.tif"), loadOptions);
if (image.IPTC != null) {
  Response.Write(image.IPTC.Values("Keyword", ","));
}


[Visual Basic]Dim loadOptions As New XImageLoadOptions()
loadOptions.ReadIPTC = True
Dim image As XImage = XImage.FromFile(Server.MapPath("rez/iptc.tif"), loadOptions)
If image.IPTC IsNot Nothing Then
  Response.Write(image.IPTC.Values("Keyword", ","))
End If


This example writes the keywords from a TIFF file in comma delimited format.