Export (0) Print
Expand All

TrafficIncidentRequestOptions class

Bing

Represents traffic incident request options.

Constructor

Definition Description

TrafficIncidentRequestOptions( LocationRect bounds)

Initializes a new instance of the TrafficIncidentRequestOptions class with the specified search area.

TrafficIncidentRequestOptions( LocationRect bounds, bool includeLocationCodes, IncidentSeverity severityFlags, IncidentType typeFlags)

Initializes a new instance of the TrafficIncidentRequestOptions class with the specified search area, location codes, and traffic incident severity and type flags.

Public Properties

Name Type Description

Bounds

LocationRect

Gets or sets the area in which to search for traffic incidents.

IncludeLocationCodes

bool

Gets or sets a bool indicating whether location codes should be included in the traffic incident response. The default value is false.

SeverityFlags

IncidentSeverity

Gets or sets the severity of traffic incidents to return. The default is to return all incidents.

TypeFlags

IncidentType

Gets or sets the traffic incident types to return. The default is to return all incidents.

Show:
© 2015 Microsoft