Parameters
- name
- Name of the map.
| Exception | Description |
|---|---|
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
{
var activeMap = MapView.Active?.Map;
await QueuedTask.Run(() => activeMap?.SetName("Test"));
ProApp.Panes.ActivePane.Caption = "Caption";
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)