Editar

Compartilhar via


HttpRequest.Item[String] Property

Definition

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

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); };
public string this[string key] { get; }
member this.Item(string) : string
Default Public 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 specified in the key parameter. If the specified key is not found, then null is returned.

Applies to