HostString.FromUriComponent 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.
Overloads
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. |
FromUriComponent(String)
- Source:
- HostString.cs
Creates a new HostString from the given uri component. Any punycode will be converted to Unicode.
public static Microsoft.Owin.HostString FromUriComponent (string uriComponent);
static member FromUriComponent : string -> Microsoft.Owin.HostString
Public Shared Function FromUriComponent (uriComponent As String) As HostString
Parameters
- uriComponent
- String
Returns
Applies to
FromUriComponent(Uri)
- Source:
- HostString.cs
Creates a new HostString from the host and port of the give Uri instance. Punycode will be converted to Unicode.
public static Microsoft.Owin.HostString FromUriComponent (Uri uri);
static member FromUriComponent : Uri -> Microsoft.Owin.HostString
Public Shared Function FromUriComponent (uri As Uri) As HostString
Parameters
- uri
- Uri