Table of Contents

Class XmpPackageBaseCollection

Namespace
Aspose.Imaging.Xmp
Assembly
Aspose.Imaging.dll

Represents collection of XmpPackage.

public sealed class XmpPackageBaseCollection : IEnumerable<XmpPackage>, IEnumerable
Inheritance
XmpPackageBaseCollection
Implements
Inherited Members

Constructors

XmpPackageBaseCollection()

public XmpPackageBaseCollection()

Properties

Count

Gets the number of elements in the collection.

public int Count { get; }

Property Value

int

The number of elements in the collection.

Methods

Add(XmpPackage)

Adds new instance of XmpPackage.

public void Add(XmpPackage package)

Parameters

package XmpPackage

The XMP package to add.

Clear()

Clear all XmpPackage inside collection.

public void Clear()

GetEnumerator()

Returns an enumerator that iterates through a collection.

public IEnumerator GetEnumerator()

Returns

IEnumerator

An IEnumerator object that can be used to iterate through the collection.

GetPackage(string)

Gets XmpPackage by it's namespaceURI.

public XmpPackage GetPackage(string namespaceUri)

Parameters

namespaceUri string

The namespace URI to get package for.

Returns

XmpPackage

Returns XMP package for specified namespace Uri.

GetPackages()

Get array of XmpPackage.

public XmpPackage[] GetPackages()

Returns

XmpPackage[]

Returns an array of XMP packages.

Remove(XmpPackage)

Removes the specified XMP package.

public void Remove(XmpPackage package)

Parameters

package XmpPackage

The XMP package to remove.