Class Timecode

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

objectXmpTypeBaseTimecode

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

TimeFormat

TimeValue

Gets or sets the time value in the specified format.

[JsonProperty]
public string TimeValue { get; set; }

Property Value

string

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

bool

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

bool

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

int

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

string

Returns the string containing xmp representation. </timecode>