UrlHelperBase.GenerateUrl Método

Definición

Sobrecargas

GenerateUrl(String, String, String)

Genera un URI a partir de los componentes proporcionados.

GenerateUrl(String, String, String, String)

Genere una dirección URL con los valores especificados.

GenerateUrl(String, String, String)

Source:
UrlHelperBase.cs
Source:
UrlHelperBase.cs

Genera un URI a partir de los componentes proporcionados.

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

Parámetros

protocol
String

Esquema o protocolo de URI.

host
String

Host de URI.

path
String

Ruta de acceso del URI y partes restantes (ruta de acceso, consulta y fragmento).

Devoluciones

Un URI absoluto si protocol se especifica o host , de lo contrario, genera un URI con una ruta de acceso absoluta.

Se aplica a

GenerateUrl(String, String, String, String)

Source:
UrlHelperBase.cs
Source:
UrlHelperBase.cs

Genere una dirección URL con los valores especificados.

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

Parámetros

protocol
String

Protocolo.

host
String

Host.

virtualPath
String

Ruta de acceso virtual.

fragment
String

Fragmento.

Devoluciones

Dirección URL generada

Se aplica a