Language

HostString.ToUriComponent メソッド

定義

HTTP ヘッダーの URI で使用するために適切に書式設定およびエンコードされた値を返します。 Unicode はすべて punycode に変換されます。 IPv6 アドレスがない場合は、角かっこが追加されます。

public:
 System::String ^ ToUriComponent();
public string ToUriComponent();
member this.ToUriComponent : unit -> string
Public Function ToUriComponent () As String

返品

URI または HTTP ヘッダーで使用するために書式設定された HostString 値。

適用対象