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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.