WebConfigurationFileMap WebConfigurationFileMap WebConfigurationFileMap WebConfigurationFileMap Class

Definition

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

public ref class WebConfigurationFileMap sealed : System::Configuration::ConfigurationFileMap
public sealed class WebConfigurationFileMap : System.Configuration.ConfigurationFileMap
type WebConfigurationFileMap = class
    inherit ConfigurationFileMap
Public NotInheritable Class WebConfigurationFileMap
Inherits ConfigurationFileMap
Inheritance
WebConfigurationFileMapWebConfigurationFileMapWebConfigurationFileMapWebConfigurationFileMap

Remarks

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.

Constructors

WebConfigurationFileMap() WebConfigurationFileMap() WebConfigurationFileMap() WebConfigurationFileMap()

Creates a new instance of the WebConfigurationFileMap class.

WebConfigurationFileMap(String) WebConfigurationFileMap(String) WebConfigurationFileMap(String) WebConfigurationFileMap(String)

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

Properties

MachineConfigFilename MachineConfigFilename MachineConfigFilename MachineConfigFilename

Gets or sets the name of the machine configuration file name.

(Inherited from ConfigurationFileMap)
VirtualDirectories VirtualDirectories VirtualDirectories VirtualDirectories

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

Methods

Clone() Clone() Clone() Clone()

Creates a new instance of a WebConfigurationFileMap class with the same value as the existing instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also