Modifier

Partager via


VirtualDirectoryMapping Constructors

Definition

Creates a new instance of the VirtualDirectoryMapping class.

Overloads

VirtualDirectoryMapping(String, Boolean)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

VirtualDirectoryMapping(String, Boolean, String)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

VirtualDirectoryMapping(String, Boolean)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

public:
 VirtualDirectoryMapping(System::String ^ physicalDirectory, bool isAppRoot);
public VirtualDirectoryMapping (string physicalDirectory, bool isAppRoot);
new System.Web.Configuration.VirtualDirectoryMapping : string * bool -> System.Web.Configuration.VirtualDirectoryMapping
Public Sub New (physicalDirectory As String, isAppRoot As Boolean)

Parameters

physicalDirectory
String

A string value that specifies the absolute path to a physical directory.

isAppRoot
Boolean

A Boolean value that indicates whether the virtual directory is the application root of the Web application.

Applies to

VirtualDirectoryMapping(String, Boolean, String)

Creates a new instance of the VirtualDirectoryMapping class based on supplied parameters.

public:
 VirtualDirectoryMapping(System::String ^ physicalDirectory, bool isAppRoot, System::String ^ configFileBaseName);
public VirtualDirectoryMapping (string physicalDirectory, bool isAppRoot, string configFileBaseName);
new System.Web.Configuration.VirtualDirectoryMapping : string * bool * string -> System.Web.Configuration.VirtualDirectoryMapping
Public Sub New (physicalDirectory As String, isAppRoot As Boolean, configFileBaseName As String)

Parameters

physicalDirectory
String

A string value that specifies the absolute path to a physical directory.

isAppRoot
Boolean

A Boolean value that indicates whether the virtual directory is the application root of the Web application.

configFileBaseName
String

The name of the configuration file.

Applies to