ArcGIS Pro 3.3 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.

In This Topic
    Invalidate(Layer,Envelope) Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also