Removes the System.Web.Configuration.UrlMapping object with the specified index from the collection.
- index
- The collection index of the System.Web.Configuration.UrlMapping object to remove.
The UrlMappingCollection.RemoveAt(int) method deletes the add element in the urlMappings section at the current hierarchy level and inserts a remove element. The remove element effectively removes the reference to the add element defined in the parent configuration files at higher levels in the hierarchy but does not delete it.