Return Value
Metadata xml string
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
string gdbXMLMetadataXmlAsString = string.Empty; gdbXMLMetadataXmlAsString = await QueuedTask.Run(() => gdbMetadataItem.GetXml()); //check metadata was returned if (!string.IsNullOrEmpty(gdbXMLMetadataXmlAsString)) { //use the metadata }
Target Platforms: Windows 10, Windows 8.1