UriHelper.FromAbsolute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Separates the given absolute URI string into components. Assumes no 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)
Parameters
- uri
- String
A string representation of the uri.
- scheme
- String
http, https, etc.
- host
- HostString
The host portion of the uri normally included in the Host header. This may include the port.
- path
- PathString
The portion of the request path that identifies the requested resource.
- query
- QueryString
The query, if any.
- fragment
- FragmentString
The fragment, if any.