Class ComplexTypeBase
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
Exceptions
- ArgumentNullException
prefix is null or namespaceUri is null
Fields
VValues
The values dictionary
protected Dictionary<string, object> VValues
Field Value
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
stringThe string representation of key that is identified with added value.
value
objectThe 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.