UnvalidatedRequestValuesBase.QueryString 屬性

定義

當在衍生類別中覆寫時,會取得用戶端提交的 HTTP 查詢字串變數集合,且不會觸發 ASP.NET 請求驗證。

public:
 virtual property System::Collections::Specialized::NameValueCollection ^ QueryString { System::Collections::Specialized::NameValueCollection ^ get(); };
public virtual System.Collections.Specialized.NameValueCollection QueryString { get; }
member this.QueryString : System.Collections.Specialized.NameValueCollection
Public Overridable ReadOnly Property QueryString As NameValueCollection

屬性值

客戶端傳送的查詢字串變數集合。

例外狀況

該屬性未被實作。

給繼承者的注意事項

如果你在衍生類別中覆寫此屬性,必須手動檢查資料中是否有可能的跨站腳本攻擊。

適用於