UnvalidatedRequestValuesBase.Path 属性

定义

在派生类中重写时,获取所请求资源的虚拟路径,不触发 ASP.NET 请求验证。When overridden in a derived class, gets the virtual path of the requested resource without triggering ASP.NET request validation.

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

属性值

String

虚拟路径。The virtual path.

例外

未实现该属性。The property is not implemented.

继承者说明

如果在派生类中重写此属性,则必须手动检查数据是否存在潜在的跨站点脚本攻击。If you override this property in a derived class, you must manually check the data for potential cross-site scripting attacks.

适用于