ArcGIS Pro 2.6 API Reference Guide
SetActiveRangeName Method

ArcGIS.Desktop.Mapping Namespace > MapView Class : SetActiveRangeName Method
Sets the active range name for the map view.
Syntax
public Task SetActiveRangeName( 
   string rangeName
)
Public Function SetActiveRangeName( _
   ByVal rangeName As String _
) As Task

Parameters

rangeName
Remarks
This method can be used to switch between the RangeNames defined on layers.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapView Class
MapView Members