Class XmpGuid
Namespace: Aspose.Imaging.Xmp.Types.Derived
Assembly: Aspose.Imaging.dll (25.2.0)
Represents XMP global unique identifier.
[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpGuid : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← XmpGuid
Implements
Inherited Members
XmpTypeBase.GetXmpRepresentation(), XmpTypeBase.ToString(), XmpTypeBase.Clone(), object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
XmpGuid(string)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Derived.XmpGuid class.
public XmpGuid(string value)
Parameters
value
string
The value.
Exceptions
value is null.
Invalid guid value;value
XmpGuid(Guid)
Initializes a new instance of the Aspose.Imaging.Xmp.Types.Derived.XmpGuid class.
public XmpGuid(Guid guid)
Parameters
guid
Guid
The unique identifier.
Properties
Prefix
Gets or sets the prefix like uuid.
[JsonProperty]
public string Prefix { get; set; }
Property Value
Value
Gets or sets the value.
[JsonProperty]
public Guid Value { get; set; }
Property Value
Methods
GetXmpRepresentation()
Gets the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
Returns the string contained value in XMP format.