XmpLangAlt

XmpLangAlt class

Represents XMP Language Alternative.

An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items.

public sealed class XmpLangAlt : XmpArray

Constructors

Name Description
XmpLangAlt(IDictionary<string, string>) Initializes a new instance of the XmpLangAlt class.
XmpLangAlt(string) Initializes a new instance of the XmpLangAlt class.

Properties

Name Description
ArrayType { get; } Gets the type of the XMP array.
Item { get; } Gets the value associated with the specified language.
Languages { get; } Gets an array of all languages registered in the instance of XmpLangAlt.
RawValue { get; } Gets the raw value.
Type { get; } Gets the MetadataPropertyType.

Methods

Name Description
AcceptValue(ValueAcceptor) Extracts the property value using a custom ValueAcceptor.
Contains(string) Determines whether the XmpLangAlt contains the specified language.
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