Class Timecode
Il nome: Aspose.Imaging.Xmp.Schemas.XmpDm Assemblea: Aspose.Imaging.dll (25.4.0)
Represente il valore del timecode in video.
[JsonObject(MemberSerialization.OptIn)]
public sealed class Timecode : XmpTypeBase, IXmpType, ICloneable, IEquatable<timecode>
Inheritance
object ← XmpTypeBase ← Timecode
Implements
IXmpType
,
ICloneable
,
IEquatable
I membri ereditari
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(Il tempo, string)
Inizia una nuova instanza della classe Aspose.Imaging.Xmp.Schemas.xmpDm.Timecode.
[JsonConstructor]
public Timecode(TimeFormat format, string timeValue)
Parameters
format
TimeFormat
Il formato del tempo.
timeValue
string
Il valore del tempo.
Properties
Format
Riceve o impone il formato utilizzato nel Aspose.Imaging.Xmp.Schemas.xmpDm.Timecode.TimeValue.
[JsonProperty]
public TimeFormat Format { get; set; }
Valore di proprietà
TimeValue
Riceve o impone il valore del tempo nel formato specificato.
[JsonProperty]
public string TimeValue { get; set; }
Valore di proprietà
Methods
Equals(Timecode)
Indica se l’oggetto corrente è uguale ad un altro oggetto dello stesso tipo.
public bool Equals(Timecode other)
Parameters
other
Timecode
Un oggetto da confrontare con questo oggetto.
Returns
vero se l’oggetto corrente è uguale al parametro altro; altrimenti, falso.
Equals(oggetto)
Determinerà se il System.Object specificato è uguale a questa instanza.
public override bool Equals(object obj)
Parameters
obj
object
Il sistema.oggetto per paragonare con questa instanza.
Returns
’true’ se il specifico System.Object è uguale a questa instanza; altrimenti, ‘falso’.
GetHashCode()
Ritorna un codice hash per questo caso.
public override int GetHashCode()
Returns
Un codice hash per questo esempio, adatto per l’uso in algoritmi di hashing e strutture di dati come una tabella hash.
GetXmpRepresentation()
Ritorna il valore contenuto nella string in formato XMP.
public override string GetXmpRepresentation()
Returns
Ritorna la riga che contiene la rappresentazione xmp.