HttpRequestWrapper.Item[String] Property

Definition

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

public:
 virtual property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); };
public override string this[string key] { get; }
member this.Item(string) : string
Default Public Overrides ReadOnly Property Item(key As String) As String

Parameters

key
String

The name of the collection member to get.

Property Value

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

Applies to