Instance Property インスタンスプロパティ

percentEncodedQuery

The query URL component expressed as a URL-encoded string, or nil if not present. クエリURL構成要素、URL符号化文字列として表現される、または存在しないならばnil

Declaration 宣言

var percentEncodedQuery: String? { get set }

Discussion 議論

For example, in the URL http://www.example.com/index.php?key1=value1&key2=value2, the query string is key1=value1&key2=value2. 例えば、URL http://www.example.com/index.php?key1=value1&key2=value2において、クエリ文字列はkey1=value1&key2=value2です。

If you set this value to something that is not a valid, percent-encoded string, this class throws an exception. あなたがこの値を有効な、パーセント符号化文字列でない何かに設定するならば、このクラスは例外をスローします。

See Also 参照

Accessing Components in URL-Encoded Format 構成要素にURL符号化形式でアクセスする