IRazorViewEngine.GetAbsolutePath(String, String) Metoda

Definice

Převede danou na pagePath absolutní, vzhledem k executingFilePath tomu, pokud pagePath již není absolutní.

public:
 System::String ^ GetAbsolutePath(System::String ^ executingFilePath, System::String ^ pagePath);
public string GetAbsolutePath (string executingFilePath, string pagePath);
public string? GetAbsolutePath (string? executingFilePath, string? pagePath);
abstract member GetAbsolutePath : string * string -> string
Public Function GetAbsolutePath (executingFilePath As String, pagePath As String) As String

Parametry

executingFilePath
String

Absolutní cesta k aktuálně spuštěné stránce( pokud existuje).

pagePath
String

Cesta k stránce.

Návraty

String

executingFilePath Kombinace a pagePath pokud pagePath je relativní cesta. Hodnota pagePath (beze změny) jinak.

Platí pro