Class XmpGuid

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

objectXmpTypeBaseXmpGuid

Implements

IXmpType, ICloneable

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

ArgumentNullException

value is null.

ArgumentException

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

string

Value

Gets or sets the value.

[JsonProperty]
public Guid Value { get; set; }

Property Value

Guid

Methods

GetXmpRepresentation()

Gets the string contained value in XMP format.

public override string GetXmpRepresentation()

Returns

string

Returns the string contained value in XMP format.