Return Value
The xml formatted metadata
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
//var layout = ...; //Must be on the QueuedTask.Run() //Gets the Layout metadata. var layout_xml = layout.GetMetadata(); //Can metadata be edited? if (layout.GetCanEditMetadata()) //Set the metadata back layout.SetMetadata(layout_xml);
Target Platforms: Windows 11, Windows 10