VirtualDirectoryMapping Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the VirtualDirectoryMapping class.
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. |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: