Class XmpBoolean

Class XmpBoolean

Tên không gian: Aspose.Imaging.Xmp.Types.Basic Tổng hợp: Aspose.Imaging.dll (25.4.0)

XMP Boolean loại cơ bản.

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

Inheritance

object XmpTypeBase XmpBoolean

Implements

IXmpType , ICloneable

Thành viên thừa kế

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

Constructors

XmpBoolean(Bool)

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Basic.xmpBoolean dựa trên giá trị boolea.

public XmpBoolean(bool value)

Parameters

value bool

Giá trị Boolean: Các giá trị được cho là True hoặc False.

XmpBoolean()

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Basic.xmpBoolean với giá trị mặc định.

[JsonConstructor]
public XmpBoolean()

XmpBoolean(String)

Bắt đầu một trường hợp mới của lớp Aspose.Imaging.Xmp.Types.Basic.xmpBoolean.

public XmpBoolean(string value)

Parameters

value string

Giá trị .

Exceptions

ArgumentNullException

Giá trị

ArgumentException

Invalid string giá trị; giá trị

Properties

Value

Nhận hoặc đặt một giá trị cho biết liệu Aspose.Imaging.Xmp.Types.Basic.xmpBoolean này có phải không.

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

Giá trị bất động sản

bool

Methods

GetXmpRepresentation()

Quay lại dòng chứa giá trị trong định dạng XMP.

public override string GetXmpRepresentation()

Returns

string

Quay lại dòng chứa biểu hiện xmp.

 Tiếng Việt