XmpBoolean

XmpBoolean class

Represents XMP Boolean basic type.

public sealed class XmpBoolean : XmpValueBase

Constructors

Name Description
XmpBoolean() Initializes a new instance of the XmpBoolean class with default value.
XmpBoolean(bool) Initializes a new instance of the XmpBoolean class based on boolean value.
XmpBoolean(string) Initializes a new instance of the XmpBoolean class.

Properties

Name Description
RawValue { get; } Gets the raw value.
Type { get; } Gets the MetadataPropertyType.
Value { get; } Gets the value.

Methods

Name Description
AcceptValue(ValueAcceptor) Extracts the property value using a custom ValueAcceptor.
override GetXmpRepresentation() Returns string contained value in XMP format.
ToArray<TElement>() Converts the property value to an array of the specified type.
ToClass<T>() Converts the property value to a reference type.
override ToString() Returns a string that represents the property value.
ToStruct<T>() Converts the property value to a value type.
ToStruct<T>(T) Converts the property value to a value type.

See Also