Class Timecode

Class Timecode

名称: Aspose.Imaging.Xmp.Schemas.XmpDm 收藏: Aspose.Imaging.dll (25.4.0)

代表视频中的时间代码值。

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

Inheritance

object XmpTypeBase Timecode

Implements

IXmpType , ICloneable , IEquatable

继承人

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(时间格式, string)

启动了 Aspose.Imaging.Xmp.Schemas.XmpDm.Timecode 类的新例子。

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

Parameters

format TimeFormat

时间格式。

timeValue string

时间的价值。

Properties

Format

获取或设置在 Aspose.Imaging.Xmp.Schemas.XmpDm.Timecode.TimeValue 中使用的格式。

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

财产价值

TimeFormat

TimeValue

收到或设置时间值在指定的格式。

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

财产价值

string

Methods

Equals(Timecode)

指示当前对象是否与同类对象的其他对象相等。

public bool Equals(Timecode other)

Parameters

other Timecode

一个对象与这个对象相比。

Returns

bool

如果当前对象与 other’ 参数相同,则是真实的;否则是假的。

Equals(对象)

确定所指定的 System.Object 是否相当于此例。

public override bool Equals(object obj)

Parameters

obj object

系统.对象与这个例子进行比较。

Returns

bool

“真实”如果指定的 System.Object 等于此例;否则,“虚假”。

GetHashCode()

返回此例的Hash代码。

public override int GetHashCode()

Returns

int

此例的哈希代码,适合在哈希算法和数据结构中使用,如哈希表。

GetXmpRepresentation()

返回在 XMP 格式中包含的字符串值。

public override string GetXmpRepresentation()

Returns

string

返回包含 xmp 代表性的字符串。

 中文