HttpServerUtilityWrapper.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 file path that corresponds to the specified virtual path on the Web server.
public:
override System::String ^ MapPath(System::String ^ path);
public override string MapPath (string path);
override this.MapPath : string -> string
Public Overrides Function MapPath (path As String) As String
Parameters
- path
- String
The virtual path to get the physical path for.
Returns
The physical file path that corresponds to path
.
Exceptions
The current HttpContext object is null
.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.