Parameters
- filterID
- The filter id of the filter to remove
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
System.ArgumentException | filter not found |
//var bsl = ...; //Note: Use HasFilter to check if a given filter id exists in the layer //Must be called on the MCT if (bsl.HasFilter(filter1.ID)) bsl.RemoveFilter(filter1.ID); //Or remove all filters bsl.RemoveAllFilters();
Target Platforms: Windows 11, Windows 10, Windows 8.1