Поділитися через


PathString.FromUriComponent Method

 

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static FromUriComponent(Uri)

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

See Also

PathString Structure
Microsoft.Owin Namespace

Return to top

PathString.FromUriComponent Method (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.

Syntax

public static PathString FromUriComponent(
    string uriComponent
)
public:
static PathString FromUriComponent(
    String^ uriComponent
)
static member FromUriComponent : 
        uriComponent:string -> PathString
Public Shared Function FromUriComponent (
    uriComponent As String
) As PathString

Parameters

  • uriComponent
    Type: System.String

    The escaped path as it appears in the URI format.

Return Value

Type: Microsoft.Owin.PathString

The resulting PathString

Return to top

PathString.FromUriComponent Method (Uri)

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

Syntax

public static PathString FromUriComponent(
    Uri uri
)
public:
static PathString FromUriComponent(
    Uri^ uri
)
static member FromUriComponent : 
        uri:Uri -> PathString
Public Shared Function FromUriComponent (
    uri As Uri
) As PathString

Parameters

Return Value

Type: Microsoft.Owin.PathString

The resulting PathString

Return to top