Class XmpInteger

Class XmpInteger

名称: Aspose.Imaging.Xmp.Types.Basic 收藏: Aspose.Imaging.dll (25.4.0)

代表 XMP Integer 基型。

[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpInteger : XmpTypeBase, IXmpType, ICloneable

Inheritance

object XmpTypeBase XmpInteger

Implements

IXmpType , ICloneable

继承人

XmpTypeBase.GetXmpRepresentation() , XmpTypeBase.ToString() , XmpTypeBase.Clone() , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

XmpInteger(长久)

启动 Aspose.Imaging.Xmp.Types.Basic.XmpInteger 类的新例子。

public XmpInteger(long value)

Parameters

value long

它的价值。

XmpInteger(因特)

启动 Aspose.Imaging.Xmp.Types.Basic.XmpInteger 类的新例子。

public XmpInteger(int value)

Parameters

value int

它的价值。

XmpInteger(线条)

启动 Aspose.Imaging.Xmp.Types.Basic.XmpInteger 类的新例子。

public XmpInteger(string value)

Parameters

value string

它的价值。

Exceptions

ArgumentNullException

值是零。

ArgumentException

无效的序列值;值

Properties

Value

得到或设置值。

[JsonProperty]
public long Value { get; set; }

财产价值

long

Methods

GetXmpRepresentation()

以 XMP 格式获取包含的字符串值。

public override string GetXmpRepresentation()

Returns

string

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

 中文