Back to Devexpress

XmpDocument.GetArray(String) Method

officefileapi-devexpress-dot-pdf-dot-xmp-dot-xmpdocument-dot-getarray-x28-system-dot-string-x29.md

latest2.5 KB
Original Source

XmpDocument.GetArray(String) Method

Gets an array node with the specified name.

Namespace : DevExpress.Pdf.Xmp

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public XmpArray GetArray(
    string qualifiedName
)
vb
Public Function GetArray(
    qualifiedName As String
) As XmpArray

Parameters

NameTypeDescription
qualifiedNameString

The node’s qualified name ( prefix:local format.).

|

Returns

TypeDescription
XmpArray

The array node with the specified name or null (Nothing in Visual Basic) if this node is not an array.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetArray(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

pdf-document-api-xmp-example/CS/XmpMetadataExamples/Program.cs#L29

csharp
// Add items to the Creator array:
XmpArray creators = editedMetadata.GetArray("dc:creator");
if (creators != null)

pdf-document-api-xmp-example/VB/XmpMetadataExamples/Program.vb#L23

vb
' Add items to the Creator array:
Dim creators As XmpArray = editedMetadata.GetArray("dc:creator")
If creators IsNot Nothing Then

See Also

XmpDocument Class

XmpDocument Members

DevExpress.Pdf.Xmp Namespace