Condividi tramite


UriHelper.FromAbsolute Metodo

Definizione

Separa la stringa URI assoluta specificata in componenti. Presuppone che non sia stato eseguito pathBase.

public:
 static void FromAbsolute(System::String ^ uri, [Runtime::InteropServices::Out] System::String ^ % scheme, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::HostString % host, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::PathString % path, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::QueryString % query, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Http::FragmentString % fragment);
public static void FromAbsolute (string uri, out string scheme, out Microsoft.AspNetCore.Http.HostString host, out Microsoft.AspNetCore.Http.PathString path, out Microsoft.AspNetCore.Http.QueryString query, out Microsoft.AspNetCore.Http.FragmentString fragment);
static member FromAbsolute : string * string * HostString * PathString * QueryString * FragmentString -> unit
Public Sub FromAbsolute (uri As String, ByRef scheme As String, ByRef host As HostString, ByRef path As PathString, ByRef query As QueryString, ByRef fragment As FragmentString)

Parametri

uri
String

Rappresentazione stringa dell'URI.

scheme
String

http, https e così via.

host
HostString

Parte host dell'URI normalmente inclusa nell'intestazione Host. Ciò può includere la porta.

path
PathString

Parte del percorso della richiesta che identifica la risorsa richiesta.

query
QueryString

Query, se presente.

fragment
FragmentString

Frammento, se presente.

Si applica a