HttpRequestBase.Item Property (String)

 

When overridden in a derived class, gets the specified object from the Cookies, Form, QueryString, or ServerVariables collections.

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

public virtual 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.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: