Share via


GuidanceRoadSegment.IsScenic Property

Definition

Gets a value that indicates of the road segment is scenic.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.

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

Property Value

Boolean

bool

true if the road segment is scenic; otherwise, false.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
Windows Mobile Extension SDK (introduced in 10.0.16299.0)
Windows Team Extension SDK (introduced in 10.0.16299.0)
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Services.Maps.GuidanceContract (introduced in v3.0)

Applies to