ArcGIS Pro 2.6 API Reference Guide
SetDefinitionFilter Method (ImageServiceLayer)

ArcGIS.Desktop.Mapping Namespace > ImageServiceLayer 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, Windows 7

See Also

Reference

ImageServiceLayer Class
ImageServiceLayer Members