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.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro