Compartir a través de


HostString.FromUriComponent Method

 

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static FromUriComponent(String)

Creates a new HostString from the given uri component. Any punycode will be converted to Unicode.

System_CAPS_pubmethodSystem_CAPS_static FromUriComponent(Uri)

Creates a new HostString from the host and port of the give Uri instance. Punycode will be converted to Unicode.

See Also

HostString Structure
Microsoft.Owin Namespace

Return to top

HostString.FromUriComponent Method (String)

Creates a new HostString from the given uri component. Any punycode will be converted to Unicode.

Syntax

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

Parameters

Return Value

Type: Microsoft.Owin.HostString

Returns HostString.

Return to top

HostString.FromUriComponent Method (Uri)

Creates a new HostString from the host and port of the give Uri instance. Punycode will be converted to Unicode.

Syntax

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

Parameters

Return Value

Type: Microsoft.Owin.HostString

Returns HostString.

Return to top