HttpRequestBase.MapPath Method (String, String, Boolean)
.NET Framework (current version)
When overridden in a derived class, maps the specified virtual path to a physical path on the server.
Assembly: System.Web (in System.Web.dll)
Public Overridable Function MapPath ( virtualPath As String, baseVirtualDir As String, allowCrossAppMapping As Boolean ) As String
Parameters
- virtualPath
-
Type:
System.String
The virtual path (absolute or relative) to map to a physical path.
- baseVirtualDir
-
Type:
System.String
The virtual base directory path that is used for relative resolution.
- allowCrossAppMapping
-
Type:
System.Boolean
true to indicate that virtualPath can belong to another application; otherwise, false.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: