XmpArrayFromT Method (T, XmpArrayType) |
Namespace: GroupDocs.Metadata.Standards.XmpAssembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntaxpublic static XmpArray From<T>(
T[] array,
XmpArrayType type
)
where T : XmpComplexType
Public Shared Function From(Of T As XmpComplexType) (
array As T(),
type As XmpArrayType
) As XmpArray
public:
generic<typename T>
where T : XmpComplexType
static XmpArray^ From(
array<T>^ array,
XmpArrayType type
)
static member From :
array : 'T[] *
type : XmpArrayType -> XmpArray when '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:
XmpArrayAn
XmpArray containing all the elements from the original array.
See Also