XmpArray

XmpArray class

Represents base abstraction for XMP array.

public class XmpArray : XmpValueBase

Constructors

Name Description
XmpArray(XmpArrayType, XmpComplexType[]) Initializes a new instance of the XmpArray class.
XmpArray(XmpArrayType, XmpValueBase[]) Initializes a new instance of the XmpArray class.

Properties

Name Description
ArrayType { get; } Gets the type of the XMP array.
RawValue { get; } Gets the raw value.
Type { get; } Gets the MetadataPropertyType.

Methods

Name Description
static From(DateTime[], XmpArrayType) Creates an XmpArray instance form a date array.
static From(double[], XmpArrayType) Creates an XmpArray instance form a double array.
static From(int[], XmpArrayType) Creates an XmpArray instance form an integer array.
static From(string[], XmpArrayType) Creates an XmpArray instance form a string array.
static From<T>(T[], XmpArrayType) Creates an XmpArray instance form an array of XmpComplexType.
AcceptValue(ValueAcceptor) Extracts the property value using a custom ValueAcceptor.
override GetXmpRepresentation() Converts XMP value to the xml representation.
ToArray<TElement>() Converts the property value to an array of the specified type.
ToClass<T>() Converts the property value to a reference type.
ToPlatformArray<T>() Converts the XmpArray to a platform-specific array.
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