Parameters
- styleProjectItem
- The StyleProjectItem to which StyleItem will be added.
- item
- The StyleItem to be added.
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run |
System.InvalidOperationException | Adding an item cannot be performed on a read-only style. |
System.InvalidOperationException | The item could not be added to the style. The key may not be unique. |
Target Platforms: Windows 11, Windows 10