UnvalidatedRequestValues.Item[String] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 、FormCookies或QueryString集合中ServerVariables获取指定的对象,而无需触发 ASP.NET 请求验证。
public:
property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ field); };
public string this[string field] { get; }
member this.Item(string) : string
Default Public ReadOnly Property Item(field As String) As String
参数
- field
- String
要检索的对象键。
属性值
请求的对象,或者 null 找不到该对象。
注解
Important
如果使用此属性,则必须手动检查数据是否存在潜在的跨站点脚本攻击。