ArcGIS Pro 2.6 API Reference Guide
RemoveFilter Method (BuildingSceneLayer)

ArcGIS.Desktop.Mapping Namespace > BuildingSceneLayer Class : RemoveFilter Method
The filter id of the filter to remove
Removes the filter with the given filter id. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void RemoveFilter( 
   string filterID
)
Public Sub RemoveFilter( _
   ByVal filterID As String _
) 

Parameters

filterID
The filter id of the filter to remove
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
filter not found
Remarks
If a filter with the given filter id is not found a System.ArgumentException is thrown. Refer to HasFilter
If the filter to be removed is currently the active filter, it is cleared first.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

BuildingSceneLayer Class
BuildingSceneLayer Members