UnvalidatedRequestValues.Path 属性

定义

获取所请求资源的虚拟路径,而无需触发 ASP.NET 请求验证。

public:
 property System::String ^ Path { System::String ^ get(); };
public string Path { get; }
member this.Path : string
Public ReadOnly Property Path As String

属性值

虚拟路径。

注解

Important

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

适用于