Class Timecode
Numele spaţiului: Aspose.Imaging.Xmp.Schemas.XmpDm Asamblare: Aspose.Imaging.dll (25.4.0)
Representează valoarea codului de timp în video.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Timecode : XmpTypeBase, IXmpType, ICloneable, IEquatable<timecode>
Inheritance
object ← XmpTypeBase ← Timecode
Implements
IXmpType
,
ICloneable
,
IEquatable
Membrii moștenitori
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(Cuvânt cheie, string)
Inițializează o nouă instanță a clasei Aspose.Imaging.Xmp.Schemas.xmpDm.Timecode.
[JsonConstructor]
public Timecode(TimeFormat format, string timeValue)
Parameters
format
TimeFormat
Formatul de timp.
timeValue
string
Valoarea timpului .
Properties
Format
Obține sau stabilește formatul utilizat în Aspose.Imaging.Xmp.Schemas.xmpDm.Timecode.TimeValue.
[JsonProperty]
public TimeFormat Format { get; set; }
Valoarea proprietății
TimeValue
Obține sau stabilește valoarea timpului în formatul specificat.
[JsonProperty]
public string TimeValue { get; set; }
Valoarea proprietății
Methods
Equals(Timecode)
Indică dacă obiectul actual este egal cu alt obiect de același tip.
public bool Equals(Timecode other)
Parameters
other
Timecode
Un obiect pentru a compara cu acest obiect.
Returns
adevărat dacă obiectul curent este egal cu parametrul altă; altfel, fals.
Equals(Obiectul)
Determine dacă Sistemul.Obiect specificat este egal cu această instanță.
public override bool Equals(object obj)
Parameters
obj
object
Sistemul.Obiect pentru a compara cu această instanță.
Returns
‘realitate’ dacă Sistemul.Obiectul specificat este egal cu acest caz; altfel, ‘falsa’.
GetHashCode()
Întoarceți un cod hash pentru acest caz.
public override int GetHashCode()
Returns
Un cod de hash pentru acest exemplu, potrivit pentru utilizare în algoritmi de hashing și structuri de date, cum ar fi un tabel de hash.
GetXmpRepresentation()
Întoarce valoarea conținută în format XMP.
public override string GetXmpRepresentation()
Returns
Returnați stringul care conține o reprezentare xmp.