Class XmpArray
Represents Xmp Array in XmpPackage. TODO: Array may contain complex data.
public class XmpArray : IXmlValue
- Inheritance
-
XmpArray
- Implements
- Inherited Members
Constructors
XmpArray(XmpArrayType)
Initializes a new instance of the XmpArray class.
public XmpArray(XmpArrayType type)
Parameters
type
XmpArrayTypeThe type of array.
XmpArray(XmpArrayType, string[])
Initializes a new instance of the XmpArray class.
public XmpArray(XmpArrayType type, string[] items)
Parameters
type
XmpArrayTypeThe type of array.
items
string[]The items list.
Fields
arrayType
Array type.
protected string arrayType
Field Value
Properties
Values
Gets array of values inside XmpArray.
public string[] Values { get; }
Property Value
- string[]
Methods
AddItem(string)
Adds new item.
public void AddItem(string item)
Parameters
item
stringThe item to be added to list of items.
GetXmlValue()
Converts XMP value to the XML representation.
public string GetXmlValue()
Returns
- string
Returns the XMP value converted to the XML representation.
ToString()
Returns a string that represents this instance.
public override string ToString()