How to: Connect to the Bing Route Service
This example demonstrates how to implement the basic routing functionality.
To do this, create an InformationLayer object and add it to the MapControl.Layers collection. Then, create a BingRouteDataProvider object specify its parameters and assign it to the InformationLayer.DataProvider property. To build a route, call the BingRouteDataProvider.CalculateRoute method.