HostString.ToUriComponent Method
Returns the value properly formatted and encoded for use in a URI in a HTTP header. Any Unicode is converted to punycode. IPv6 addresses will have brackets added if they are missing.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Function ToUriComponent As String
'Usage
Dim instance As HostString
Dim returnValue As String
returnValue = instance.ToUriComponent()
public string ToUriComponent()
public:
String^ ToUriComponent()
member ToUriComponent : unit -> string
public function ToUriComponent() : String
Return Value
Type: System.String
Returns String.