HttpServerUtilityWrapper.MapPath(String) Método

Definição

Retorna o caminho de arquivo físico que corresponde ao caminho virtual especificado no servidor Web.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

Parâmetros

path
String

O caminho virtual para o qual obter o caminho físico.The virtual path to get the physical path for.

Retornos

String

O caminho de arquivo físico que corresponde a path.The physical file path that corresponds to path.

Exceções

O objeto HttpContext atual é null.The current HttpContext object is null.

Aplica-se a