XmpArrayFromT Method (T, XmpArrayType)
Creates an XmpArray instance form an array of XmpComplexType.

Namespace: GroupDocs.Metadata.Standards.Xmp
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntax
public static XmpArray From<T>(
	T[] array,
	XmpArrayType type
)
where T : XmpComplexType

Parameters

array
Type: T
The array to create an XmpArray from.
type
Type: GroupDocs.Metadata.Standards.XmpXmpArrayType
The type of the XmpArray.

Type Parameters

T
The element type of the source array.

Return Value

Type: XmpArray
An XmpArray containing all the elements from the original array.
See Also