Class ComplexTypeBase
Namespace: Aspose.Imaging.Xmp.Types.Complex
Assembly: Aspose.Imaging.dll (25.7.0)
Represents base abstraction for XMP Complex value type.
[JsonObject(MemberSerialization.OptIn)]
public class ComplexTypeBase : XmpTypeBase, IXmpType, ICloneable
{
}
Inheritance
object ← XmpTypeBase ← ComplexTypeBase
Derived
ColorantBase , Dimensions , Font , ResourceEvent , ResourceRef , Thumbnail , Version
Implements
Inherited Members
XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
See more: XMP Specification Part 2, Chapter 1.2.2
Constructors
ComplexTypeBase(string, string)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Complex.ComplexTypeBase class.
public ComplexTypeBase(string prefix, string namespaceUri)
{
}
Parameters
prefix
string
The prefix.
namespaceUri
string
The namespace URI.
Exceptions
prefix is nullornamespaceUri 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
Prefix
Gets the prefix.
public string Prefix
{
get;
}
Property Value
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()
{
}
Note that I have added a single empty line after the opening brace and before the closing brace for improved readability. Also, note that comments are left untouched as per your request.
Returns
Returns the string contained value in XMP format.</string,>