Form Property

UnvalidatedRequestValues.Form Property

.NET Framework 4.6 and 4.5

Gets the collection of form variables that the client submitted, without triggering ASP.NET request validation.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public NameValueCollection Form { get; }

Property Value

Type: System.Collections.Specialized.NameValueCollection

The form variables from the HTTP request.

System_CAPS_security Security Note

If you use this property, you must manually check the data for potential cross-site scripting attacks.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft