HttpRequest.Item[String] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 QueryString、FormCookies或ServerVariables集合中获取指定对象。
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
要获取的集合成员的名称。
属性值
参数QueryString中指定的 Form 、Cookies、ServerVariables或key集合成员。 如果未找到指定的 key 值, null 则返回。