XmpBoolean constructor

init

Initializes a new instance of the XmpBoolean class with default value.

def __init__(self):
    ...

init

Initializes a new instance of the XmpBoolean class based on boolean value.

def __init__(self, value):
    ...
ParameterTypeDescription
valueboolThe Boolean value. Allowed values are True or False.

init

Initializes a new instance of the XmpBoolean class.

def __init__(self, value):
    ...
ParameterTypeDescription
valuestrThe value.

Exceptions

ExceptionDescription
ArgumentNullExceptionvalue
ArgumentExceptionInvalid string value;value

See Also