XmpInteger

XmpInteger class

Represents XMP Integer basic type.

public sealed class XmpInteger : XmpValueBase

Constructors

Name Description
XmpInteger(int) Initializes a new instance of the XmpInteger class.
XmpInteger(long) Initializes a new instance of the XmpInteger class.
XmpInteger(string) Initializes a new instance of the XmpInteger 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