If the specified layer has not already been added to the map, this method adds it automatically. If the GeoRSS feed URL, Bing Maps collection GUID, or XML URL is invalid, this method throws an exception.
To set the map view to the best view on the imported shapes, add the shapes to an empty layer.
For more information about supported file formats, see the VEDataType Enumeration topic.