Share via


MapRoute.IsScenic Property

Definition

Gets a value that indicates whether the MapRoute is based on scenic roads.

public:
 property bool IsScenic { bool get(); };
bool IsScenic();
public bool IsScenic { get; }
var boolean = mapRoute.isScenic;
Public ReadOnly Property IsScenic As Boolean

Property Value

Boolean

bool

true if the MapRoute is based on scenic roads; otherwise, false.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to