Class XmpBoolean
Class XmpBoolean
名称: Aspose.Imaging.Xmp.Types.Basic 收藏: Aspose.Imaging.dll (25.4.0)
代表XMP Boolean 基本类型。
[JsonObject(MemberSerialization.OptIn)]
public sealed class XmpBoolean : XmpTypeBase, IXmpType, ICloneable
Inheritance
object ← XmpTypeBase ← XmpBoolean
Implements
继承人
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(博尔)
启动 Aspose.Imaging.Xmp.Types.Basic.XmpBoolean 类的新例子,基于 boolean 值。
public XmpBoolean(bool value)
Parameters
value
bool
允许的值是真实的或虚假的。
XmpBoolean()
启动 Aspose.Imaging.Xmp.Types.Basic.XmpBoolean 类的新示例,默认值。
[JsonConstructor]
public XmpBoolean()
XmpBoolean(线条)
启动了 Aspose.Imaging.Xmp.Types.Basic.XmpBoolean 类的新例子。
public XmpBoolean(string value)
Parameters
value
string
它的价值。
Exceptions
价值
无效的序列值;值
Properties
Value
收到或设置一个值,表明这个 Aspose.Imaging.Xmp.Types.Basic.XmpBoolean 是否值。
[JsonProperty]
public bool Value { get; set; }
财产价值
Methods
GetXmpRepresentation()
返回在 XMP 格式中包含的序列值。
public override string GetXmpRepresentation()
Returns
返回包含 xmp 代表性的字符串。