MapControl.Routes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of MapRouteView objects displayed on the map.
public:
property IVector<MapRouteView ^> ^ Routes { IVector<MapRouteView ^> ^ get(); };
IVector<MapRouteView> Routes();
public IList<MapRouteView> Routes { get; }
var iVector = mapControl.routes;
Public ReadOnly Property Routes As IList(Of MapRouteView)
Property Value
The collection of MapRouteView objects displayed on the map.
Remarks
To display a route on a map, construct a MapRouteView with the MapRoute and add the MapRouteView to the Routes collection of the MapControl.