XMPData_GetPropertyType

Return the type of a property in an XMP data object.
XMPData_GetPropertyType(xmpDataRef;propPath) ➔ propType
xmpDataRef Text The XMP data reference.
propPath Text The property path.
↩︎ propType Longint The property type.

Return the type of property propPath in the XMP data object xmpDataRef.

Parameter xmpDataRef is the reference to the XMP data object.

Parameter propPath is the full path of the property.

The property type is returned in the method result (propType).

The constants identifying the XMP property types are listed in the following table:

Constant Value Description
kXMPPropTypeSimple 0x0001 Simple property (text).
kXMPPropTypeStructure 0x0002 Structure property.
kXMPPropTypeArray 0x000C Array property (ordered collection).
kXMPPropTypeBag 0x0004 Bag property (unordered collection).
kXMPPropTypeLangAltArray 0x003C LangAlt property (language alternatives).
kXMPPropTypeUnsupported -1