ArcGIS Pro 2.8 API Reference Guide
SetDefinitionFilter Method (BasicFeatureLayer)

ArcGIS.Desktop.Mapping Namespace > BasicFeatureLayer Class : SetDefinitionFilter Method
The filter to set
Sets the definition filter. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void SetDefinitionFilter( 
   CIMDefinitionFilter activeFilter
)
Public Sub SetDefinitionFilter( _
   ByVal activeFilter As CIMDefinitionFilter _
) 

Parameters

activeFilter
The filter to set
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

BasicFeatureLayer Class
BasicFeatureLayer Members