HttpRequest.Item[String] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.