Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Params Property

HttpRequest.Params Property

Gets a combined collection of QueryString, Form, Cookies, and ServerVariables items.

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

member Params : NameValueCollection with get

Name-value pairs are added to the collection in the following order:

  1. Query-string parameters.

  2. Form fields.

  3. Cookies.

  4. Server variables.

The following code example shows how to loop through the Params property for a page and how to display each key/value pair.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft