Table of Contents

Class Timecode

Namespace
Aspose.Imaging.Xmp.Schemas.XmpDm
Assembly
Aspose.Imaging.dll

Represents timecode value in video.

public sealed class Timecode : XmpTypeBase, IXmpType, IEquatable<Timecode>
Inheritance
Timecode
Implements
Inherited Members

Constructors

Timecode(TimeFormat, string)

Initializes a new instance of the Timecode class.

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 TimeValue.

public TimeFormat Format { get; set; }

Property Value

TimeFormat

The format used in the TimeValue.

TimeValue

Gets or sets the time value in the specified format.

public string TimeValue { get; set; }

Property Value

string

The time value in the specified format.

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 object, is equal to this instance.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if the specified 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.