June 2002
Intermediate to advanced
816 pages
28h 12m
English
MapPath
String = Page.MapPath(virtualPath)
Returns the physical path that corresponds to a given virtual path.
String
A String containing the physical path that corresponds to
virtualPath.
virtualPath
A string containing an absolute or relative virtual path.
The example maps the virtual path of the named page to its physical path:
Sub Page_Load( )
Message.Text = MapPath("MapPath.aspx")
End SubThe Page.MapPath method duplicates the functionality of the Server.MapPath method.
Read now
Unlock full access