Removes a System.Web.Configuration.CustomError object from the collection.
The CustomErrorCollection.Remove(string) method inserts a remove element into the customErrors section of the configuration file at the current hierarchy level. This removes the reference to the add element defined in the parent configuration files at higher levels in the hierarchy.
The add elements are not deleted from the parent configuration files. The remove element merely deactivates them. However, the CustomErrorCollection.Remove(string) method does actually delete them at the current hierarchy level.