ArcGIS Pro 2.8 API Reference Guide
UpdateOverlay Method (MappingExtensions)

ArcGIS.Desktop.Mapping Namespace > MappingExtensions Class : UpdateOverlay Method
The view containing the overlay.
The IDisposable instance returned from an AddOverlay method call.
The geometry to be used for the update
The symbol to use for the update.
Updates an overlay graphic for a feature on the map view.
Syntax
Public Shared Function UpdateOverlay( _
   ByVal mapView As MapView, _
   ByVal disposable As IDisposable, _
   ByVal geom As Geometry, _
   ByVal symbol As CIMSymbolReference _
) As Boolean

Parameters

mapView
The view containing the overlay.
disposable
The IDisposable instance returned from an AddOverlay method call.
geom
The geometry to be used for the update
symbol
The symbol to use for the update.

Return Value

True if the overlay was updated. False otherwise.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MappingExtensions Class
MappingExtensions Members