ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / Invalidate Method / Invalidate(Layer,Envelope) Method
The layer to invalidate.
The extent of the layer to invalidate. When null the entire layer will be invalidated.
Version

Invalidate(Layer,Envelope) Method
Invalidates an area of layer.
Syntax
public void Invalidate( 
   Layer layer,
   Envelope extent
)

Parameters

layer
The layer to invalidate.
extent
The extent of the layer to invalidate. When null the entire layer will be invalidated.
Exceptions
ExceptionDescription
Thrown when a method is called on the wrong Pro thread
layer
The map view is not ready.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also