HttpRequestMessageProperty.QueryString プロパティ

定義

HTTP 要求のクエリ文字列を取得または設定します。

public:
 property System::String ^ QueryString { System::String ^ get(); void set(System::String ^ value); };
public string QueryString { get; set; }
member this.QueryString : string with get, set
Public Property QueryString As String

プロパティ値

HTTP 要求からのクエリ文字列。

例外

この値は nullに設定されます。

注釈

HTTP 要求のクエリ文字列 (SQL インジェクション攻撃など) に基づく既知のセキュリティ攻撃は多数あります。 クエリ文字列に含まれるパラメーターを常に厳密に検証します。 検証なしで値を使用すると、既知のセキュリティ ホールが開きます。

適用対象