Class Timecode
Namespace: Aspose.Imaging.Xmp.Schemas.XmpDm
Assembly: Aspose.Imaging.dll (25.2.0)
Represents timecode value in video.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Timecode : XmpTypeBase, IXmpType, ICloneable, IEquatable<timecode>
Inheritance
object ← XmpTypeBase ← Timecode
Implements
IXmpType, ICloneable, IEquatable<timecode>
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
Timecode(TimeFormat, string)
Initializes a new instance of the Aspose.Imaging.Xmp.Schemas.XmpDm.Timecode class.
[JsonConstructor]
public Timecode(TimeFormat format, string timeValue)
Parameters
format
TimeFormat
The time format.
timeValue
string
The time value.
Properties
Format
Gets or sets the format used in the Aspose.Imaging.Xmp.Schemas.XmpDm.Timecode.TimeValue.
[JsonProperty]
public TimeFormat Format { get; set; }
Property Value
TimeValue
Gets or sets the time value in the specified format.
[JsonProperty]
public string TimeValue { get; set; }
Property Value
Methods
Equals(Timecode)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Timecode other)
Parameters
other
Timecode
An object to compare with this object.
Returns
true if the current object is equal to the other
parameter; otherwise, false.
Equals(object)
Determines whether the specified System.Object, is equal to this instance.
public override bool Equals(object obj)
Parameters
obj
object
The System.Object to compare with this instance.
Returns
true
if the specified System.Object is equal to this instance; otherwise, false
.
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
GetXmpRepresentation()
Returns the string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
Returns the string containing xmp representation. </timecode>