Parameters
- rulePackagePath
- The full path to the rule package
- featureLayer
- The layer to check the compatibility of the rule package against
Return Value
True if the geometry type of the rule package matches the geometry type of the layer
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
System.IO.FileNotFoundException | {rulePackagePath} not found or is inaccessible |
System.NotSupportedException | Cannot use rule packages that create leaf shapes with procedural symbols. |
System.ArgumentException | Invalid layer geometry type. |
System.ArgumentException | Procedural symbol cannot be applied to rasterized feature layers. Feature layers that are in the 2D Layers group in the Contents pane are rasterized |
Target Platforms: Windows 11, Windows 10