UnvalidatedRequestValuesWrapper.QueryString 屬性

定義

取得用戶端送出之 HTTP 查詢字串變數的集合,而不觸發 ASP.NET 要求驗證。Gets the collection of HTTP query string variables that the client submitted, without triggering ASP.NET request validation.

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

屬性值

NameValueCollection

用戶端送出的查詢字串變數的集合。The collection of query string variables sent by the client.

備註

重要

如果您使用此屬性,則必須手動檢查資料是否有潛在的跨網站腳本攻擊。If you use this property, you must manually check the data for potential cross-site scripting attacks.

適用於