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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET