Table of Contents

Class ComplexTypeBase

Namespace
Aspose.Imaging.Xmp.Types.Complex
Assembly
Aspose.Imaging.dll

Represents base abstraction for XMP Complex value type.

public class ComplexTypeBase : XmpTypeBase, IXmpType
Inheritance
ComplexTypeBase
Implements
Derived
Inherited Members

Remarks

See more: XMP Specification Part 2, Chapter 1.2.2

Constructors

ComplexTypeBase(string, string)

Initializes a new instance of the ComplexTypeBase class.

public ComplexTypeBase(string prefix, string namespaceUri)

Parameters

prefix string

The prefix.

namespaceUri string

The namespace URI.

Exceptions

ArgumentNullException

prefix is null or namespaceUri is null

Fields

VValues

The values dictionary

protected Dictionary<string, object> VValues

Field Value

Dictionary<string, object>

Properties

NamespaceUri

Gets the default namespace URI.

public string NamespaceUri { get; }

Property Value

string

The default namespace URI.

Prefix

Gets the prefix.

public string Prefix { get; }

Property Value

string

The prefix.

Methods

Add(string, object)

Adds the specified key.

protected void Add(string key, object value)

Parameters

key string

The string representation of key that is identified with added value.

value object

The value to add to.

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()

Returns

string

Returns the string contained value in XMP format.