ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / Invalidate Method / Invalidate(SelectionSet) Method
The collection of layers and their corresponding Object IDs to invalidate.

In This Topic
    Invalidate(SelectionSet) Method
    In This Topic
    Invalidates the features of layers.
    Syntax
    public void Invalidate( 
       SelectionSet features
    )
    Public Overloads Sub Invalidate( _
       ByVal features As SelectionSet _
    ) 

    Parameters

    features
    The collection of layers and their corresponding Object IDs to invalidate.
    Exceptions
    ExceptionDescription
    Thrown when a method is called on the wrong Pro thread
    features
    The map view is not ready.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also