Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
//Must be called on the MCT //Note: Use HasFilter to check if a given filter id exists in the layer //var bsl = ...; if (bsl.HasFilter(filter1.ID)) bsl.SetActiveFilter(filter1.ID); var activeFilter = bsl.GetActiveFilter(); //Clear the active filter bsl.ClearActiveFilter();
Target Platforms: Windows 11, Windows 10