Class Timecode
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
TimeFormatThe time format.
timeValue
stringThe 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
TimecodeAn 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
Returns
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.