Class XmpCollection

XmpCollection class

An XMP element collection.

public class XmpCollection : IList<IXmpType>, IXmpType

Constructors

NameDescription
XmpCollection()The default constructor.

Properties

NameDescription
Count { get; }Gets the number of elements contained in the IList.
IsReadOnly { get; }Gets a value indicating whether the collection is read-only.
Item { get; set; }Gets or sets the element at the specified index.

Methods

NameDescription
Add(IXmpType)Adds an item to the collection.
Add(object)Adds an XMP data item.
AddItem(string)Adds new item.
Clear()Removes all items from the collection.
Contains(IXmpType)Determines whether the collection contains a specific value.
CopyTo(IXmpType[], int)Copies the elements of the collection to an array, starting at a particular array index.
GetEnumerator()Returns an enumerator that iterates through the collection.
GetXmlValue()Converts XMP value to the XML representation.
GetXmpRepresentation()Gets the XMP string value of this.
IndexOf(IXmpType)Determines the index of a specific item in the collection.
Insert(int, IXmpType)Inserts an item to the collection at the specified index.
Remove(IXmpType)Removes the first occurrence of a specific object from the collection.
RemoveAt(int)Removes the item at the specified index.
override ToString()Returns an XML String that represents this instance.

See Also