HttpRequestBase.PhysicalPath 属性

定义

在派生类中替代时,获取请求的资源的物理文件系统路径。

public virtual string PhysicalPath { get; }

属性值

请求的资源的文件系统路径。

例外

适用于

产品 版本
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1