Dela via


PathString.FromUriComponent Method

Definition

Overloads

FromUriComponent(String)

Returns an PathString given the path as it is escaped in the URI format. The string MUST NOT contain any value that is not a path.

FromUriComponent(Uri)

Returns an PathString given the path as from a Uri object. Relative Uri objects are not supported.

FromUriComponent(String)

Source:
PathString.cs
Source:
PathString.cs
Source:
PathString.cs

Returns an PathString given the path as it is escaped in the URI format. The string MUST NOT contain any value that is not a path.

public:
 static Microsoft::AspNetCore::Http::PathString FromUriComponent(System::String ^ uriComponent);
public static Microsoft.AspNetCore.Http.PathString FromUriComponent (string uriComponent);
static member FromUriComponent : string -> Microsoft.AspNetCore.Http.PathString
Public Shared Function FromUriComponent (uriComponent As String) As PathString

Parameters

uriComponent
String

The escaped path as it appears in the URI format.

Returns

The resulting PathString

Applies to

FromUriComponent(Uri)

Source:
PathString.cs
Source:
PathString.cs
Source:
PathString.cs

Returns an PathString given the path as from a Uri object. Relative Uri objects are not supported.

public:
 static Microsoft::AspNetCore::Http::PathString FromUriComponent(Uri ^ uri);
public static Microsoft.AspNetCore.Http.PathString FromUriComponent (Uri uri);
static member FromUriComponent : Uri -> Microsoft.AspNetCore.Http.PathString
Public Shared Function FromUriComponent (uri As Uri) As PathString

Parameters

uri
Uri

The Uri object

Returns

The resulting PathString

Applies to