XmpBoolean 类

Summary: Represents XMP Boolean basic type.

Module: aspose.imaging.xmp.types.basic

Full Name: aspose.imaging.xmp.types.basic.XmpBoolean

Inheritance: IXmpType, XmpTypeBase

Constructors

Name描述
XmpBoolean()初始化带有默认值的 XmpBoolean 类的新实例。
XmpBoolean(value)初始化基于布尔值的 XmpBoolean 类的新实例。
XmpBoolean(value)初始化基于布尔值的 XmpBoolean 类的新实例。

Properties

NameTypeAccess描述
valueboolr/w获取或设置一个值,指示此 XmpBoolean 是否有值。

Methods

Name描述
clone()克隆此实例。
get_xmp_representation()返回 XMP 格式的字符串值。

Constructor: XmpBoolean()

 XmpBoolean() 

初始化带有默认值的 XmpBoolean 类的新实例。

Constructor: XmpBoolean(value)

 XmpBoolean(value) 

初始化基于布尔值的 XmpBoolean 类的新实例。

Parameters:

参数TypeDescription
valuebool布尔值。允许的值为 True 或 False。

Constructor: XmpBoolean(value)

 XmpBoolean(value) 

初始化基于布尔值的 XmpBoolean 类的新实例。

Parameters:

参数TypeDescription
valuestring布尔值。允许的值为 True 或 False。

Method: clone()

 clone() 

克隆此实例。

Returns

TypeDescription
System.Object成员逐个克隆。

Method: get_xmp_representation()

 get_xmp_representation() 

返回 XMP 格式的字符串值。

Returns

TypeDescription
string返回包含 XMP 表示的字符串。