Compartir a través de


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

public string ToUriComponent()
public:
String^ ToUriComponent()
member ToUriComponent : unit -> string
Public Function ToUriComponent As String

Return Value

Type: System.String

Returns String.

See Also

HostString Structure
Microsoft.Owin Namespace

Return to top