ArcGIS Pro 2.7 API Reference Guide
RemoveOverlayControl Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : RemoveOverlayControl Method
The control to remove.
Remove a control from over the view.
Syntax
public bool RemoveOverlayControl( 
   IMapViewOverlayControl overlayControl
)
Public Function RemoveOverlayControl( _
   ByVal overlayControl As IMapViewOverlayControl _
) As Boolean

Parameters

overlayControl
The control to remove.

Return Value

True if the control was removed, false if the control was not found.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members