HttpWorkerRequest.MapPath(String) Method
Definition
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.
Returns the physical path corresponding to the specified virtual path.
public:
virtual System::String ^ MapPath(System::String ^ virtualPath);
public virtual string MapPath (string virtualPath);
abstract member MapPath : string -> string
override this.MapPath : string -> string
Public Overridable Function MapPath (virtualPath As String) As String
Parameters
- virtualPath
- String
The virtual path.
Returns
The physical path that corresponds to the virtual path specified in the virtualPath
parameter.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.