UrlHelperBase.GenerateUrl Metoda

Definice

Přetížení

GenerateUrl(String, String, String)

Vygeneruje identifikátor URI z poskytnutých komponent.

GenerateUrl(String, String, String, String)

Vygenerujte adresu URL pomocí zadaných hodnot.

GenerateUrl(String, String, String)

Vygeneruje identifikátor URI z poskytnutých komponent.

protected:
 System::String ^ GenerateUrl(System::String ^ protocol, System::String ^ host, System::String ^ path);
protected string GenerateUrl (string protocol, string host, string path);
protected string? GenerateUrl (string? protocol, string? host, string? path);
member this.GenerateUrl : string * string * string -> string
Protected Function GenerateUrl (protocol As String, host As String, path As String) As String

Parametry

protocol
String

Schéma identifikátoru URI nebo protokol.

host
String

Hostitel identifikátoru URI.

path
String

Cesta URI a zbývající části (cesta, dotaz a fragment).

Návraty

String

Absolutní identifikátor URI, pokud je protocol zadán nebo host je zadán, v opačném případě vygeneruje identifikátor URI s absolutní cestou.

Platí pro

GenerateUrl(String, String, String, String)

Vygenerujte adresu URL pomocí zadaných hodnot.

protected:
 System::String ^ GenerateUrl(System::String ^ protocol, System::String ^ host, System::String ^ virtualPath, System::String ^ fragment);
protected string GenerateUrl (string protocol, string host, string virtualPath, string fragment);
protected string? GenerateUrl (string? protocol, string? host, string? virtualPath, string? fragment);
member this.GenerateUrl : string * string * string * string -> string
Protected Function GenerateUrl (protocol As String, host As String, virtualPath As String, fragment As String) As String

Parametry

protocol
String

Protokol.

host
String

Hostitel.

virtualPath
String

Virtuální cesta.

fragment
String

Fragment.

Návraty

String

Vygenerovaná adresa URL

Platí pro