UnvalidatedRequestValuesWrapper.QueryString 属性

定义

在未触发 ASP.NET 请求验证的情况下,获取客户端提交的 HTTP 查询字符串变量的集合。

public:
 virtual property System::Collections::Specialized::NameValueCollection ^ QueryString { System::Collections::Specialized::NameValueCollection ^ get(); };
public override System.Collections.Specialized.NameValueCollection QueryString { get; }
member this.QueryString : System.Collections.Specialized.NameValueCollection
Public Overrides ReadOnly Property QueryString As NameValueCollection

属性值

客户端发送的查询字符串变量的集合。

注解

重要

如果使用此属性,则必须手动检查数据中是否存在潜在的跨站点脚本攻击。

适用于