HttpRequestWrapper.Item Property (String)

 

Gets the specified object from the Cookies, Form, QueryString, or ServerVariables collections.

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

public override string this[
	string key
] { get; }

Parameters

key
Type: System.String

The name of the collection member to get.

Property Value

Type: System.String

The QueryString, Form, Cookies, or ServerVariables collection member that is specified by key. If the specified key value is not found, null is returned.

.NET Framework
Available since 3.5
Return to top
Show: