Editare

Partajați prin


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
WebConfigurationFileMap

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()

Creates a new instance of the WebConfigurationFileMap class.

WebConfigurationFileMap(String)

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

Properties

MachineConfigFilename

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

(Inherited from ConfigurationFileMap)
VirtualDirectories

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

Methods

Clone()

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also