You can view the metadata information of certain objects, tags, and images within a PDF. You can edit and export metadata for Visio objects only.

View object metadata
View and edit Visio object metadata
Export Visio object metadataChoose Export As XML > Whole Tree to export all objects.
choose Export As XML > Current Node to export only the selected object and its children.