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 syncedMetadataXml = string.Empty;
// Note: Needs QueuedTask to run
syncedMetadataXml = metadataItemToSync.Synchronize();
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)