remove Element for files [IIS Settings Schema]
Note
For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: Default Document Files <files>.
Removes a file name from the list of default documents in the files collection.
configuration Element [IIS Settings Schema]
system.webServer Section Group [IIS Settings Schema]
defaultDocument Element [IIS Settings Schema]
files Element for defaultDocument [IIS Settings Schema]
IIS 7.0: remove Element for files (IIS Settings Schema)
Syntax
<remove
name="name of file"
/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
---|---|
name |
Optional string attribute. Specifies the file name to be removed from the collection. |
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the root element in ApplicationHost.config that is the top-level section group in which this element is defined. |
files |
Specifies the file names that are configured as default documents. |
Remarks
For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: Default Document Files <files>.
Element Information
Configuration locations |
Machine.config ApplicationHost.config Root level Web.config Application level Web.config Virtual or physical directory level Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |