ArcGIS Pro 2.6 API Reference Guide
RangeNames Property

ArcGIS.Desktop.Mapping Namespace > MapView Class : RangeNames Property
Gets the range names defined on layers in the map view.
Syntax
public string[] RangeNames {get;}
Public ReadOnly Property RangeNames As String()
Remarks
This property is empty when there are no layers with a range defined in the map. Provides a unique set of all range names defined on layers in the map.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapView Class
MapView Members