Share via


HttpRequestFeature.Path 属性

定义

获取或设置标识所请求资源的请求路径部分。

如果包含完整路径,则该值可以是 EmptyPathBase ,或者对于“OPTIONS *”请求,该值可能为 。 该路径由服务器完全解码,“%2F”除外,该路径将解码为“/”并更改路径段的含义。 “%2F”只能在将路径拆分为段后替换。

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

属性值

实现

适用于