This sample shows how to access a KML file using KMLLayer.

2DKMLLayerKMLOGCviewOnReadyarcgis-mapmap-components