Class Timecode

Class Timecode

A név: Aspose.Imaging.Xmp.Schemas.XmpDm Összefoglaló: Aspose.Imaging.dll (25.4.0)

Az idő kód értéke a videóban jelenik meg.

[JsonObject(MemberSerialization.OptIn)]
public sealed class Timecode : XmpTypeBase, IXmpType, ICloneable, IEquatable<timecode>

Inheritance

object XmpTypeBase Timecode

Implements

IXmpType , ICloneable , IEquatable

Örökletes tagok

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(Időforrás, string)

Kezdeményez egy új példát a Aspose.Imaging.Xmp.Schemas.xmpDm.Timecode osztály.

[JsonConstructor]
public Timecode(TimeFormat format, string timeValue)

Parameters

format TimeFormat

Az idő formátum.

timeValue string

Az idő értéke.

Properties

Format

Szerezze meg vagy állítsa be a formátumot, amelyet a Aspose.Imaging.Xmp.Schemas.xmpDm.Timecode.TimeValue.

[JsonProperty]
public TimeFormat Format { get; set; }

ingatlan értéke

TimeFormat

TimeValue

Megkapja vagy beállítja az idő értéket a meghatározott formátumban.

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

ingatlan értéke

string

Methods

Equals(Timecode)

Megmutatja, hogy a jelenlegi objektum egyenlő-e egy másik azonos típusú objektummal.

public bool Equals(Timecode other)

Parameters

other Timecode

Egy objektum összehasonlítható ezzel az objektummal.

Returns

bool

igaz, ha a jelenlegi objektum egyenlő a más paraméterrel; egyébként hamis.

Equals(objektum)

Határozza meg, hogy a meghatározott System.Object egyenlő-e ezzel a példával.

public override bool Equals(object obj)

Parameters

obj object

A System.Object összehasonlítani ezzel a példával.

Returns

bool

“igaz”, ha a kijelölt System.Object egyenlő a példával; máskülönben, “hamis”.

GetHashCode()

Visszaadja a hash kódot erre az esetre.

public override int GetHashCode()

Returns

int

A hash kód erre a példára, amely alkalmas a hash algoritmusokban és az adatok szerkezetében, mint például a hash táblázat.

GetXmpRepresentation()

Visszaadja az XMP formátumban tartalmazott értéket.

public override string GetXmpRepresentation()

Returns

string

Visszaadja a xmp-reprezentációt tartalmazó szalagot.

 Magyar