WebConfigurationFileMap Class
TOC
Collapse the table of content
Expand the table of content

WebConfigurationFileMap Class

 

Defines the configuration file mappings for a Web application. This class cannot be inherited.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Configuration.ConfigurationFileMap
    System.Web.Configuration.WebConfigurationFileMap

public sealed class WebConfigurationFileMap : ConfigurationFileMap

NameDescription
System_CAPS_pubmethodWebConfigurationFileMap()

Creates a new instance of the WebConfigurationFileMap class.

System_CAPS_pubmethodWebConfigurationFileMap(String)

Initializes a new instance of the WebConfigurationFileMap class by using the specified machine configuration file name.

NameDescription
System_CAPS_pubpropertyMachineConfigFilename

Gets or sets the name of the machine configuration file name.(Inherited from ConfigurationFileMap.)

System_CAPS_pubpropertyVirtualDirectories

Gets the listed collection of virtual directories for a Web application.

NameDescription
System_CAPS_pubmethodClone()

Creates a new instance of a WebConfigurationFileMap class with the same value as the existing instance.(Overrides ConfigurationFileMap.Clone().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The WebConfigurationFileMap class is used to specify the Web configuration file hierarchy. By default, the configuration system uses the IIS metabase to determine the Web file hierarchy. If IIS is not installed, or if an application targets a version of the .NET Framework that is not the latest version that is installed on the server, the WebConfigurationFileMap class provides a means to define a custom hierarchy.

The WebConfigurationFileMap class can specify a single path or multiple paths related to configuration files.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft