UnvalidatedRequestValuesWrapper.Form 屬性

定義

取得用戶端送出之表單變數的集合,而不觸發 ASP.NET 要求驗證。Gets the collection of form variables that the client submitted, without triggering ASP.NET request validation.

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

屬性值

NameValueCollection

來自 HTTP 要求的表單變數。The form variables from the HTTP request.

備註

重要

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

適用於