HttpRequest.Item[String] HttpRequest.Item[String] HttpRequest.Item[String] HttpRequest.Item[String] Property

定義

QueryStringFormCookiesServerVariables 集合取得指定的物件。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

參數

key
String String String String

要取得的集合成員名稱。The name of the collection member to get.

屬性值

key 參數中指定的 QueryStringFormCookiesServerVariables 集合成員。The QueryString, Form, Cookies, or ServerVariables collection member specified in the key parameter. 如果找不到指定的 key,則會傳回 nullIf the specified key is not found, then null is returned.

適用於