ArcGIS Pro 2.7 API Reference Guide
Invalidate(Layer,Envelope) Method

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.
Invalidates an area of layer.
Syntax
public void Invalidate( 
   Layer layer,
   Envelope extent
)
Public Overloads Sub Invalidate( _
   ByVal layer As Layer, _
   ByVal extent As Envelope _
) 

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 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members
Overload List