Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRequestBase.Item Property

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.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft