HostString.FromUriComponent Method
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
FromUriComponent(String) | Creates a new HostString from the given uri component. Any punycode will be converted to Unicode. |
|
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
- uriComponent
Type: System.String
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
- uri
Type: System.Uri
Return Value
Type: Microsoft.Owin.HostString
Returns HostString.
Return to top