UriHelper.GetEncodedPathAndQuery(HttpRequest) 方法

定义

返回相对 URI。

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetEncodedPathAndQuery(Microsoft::AspNetCore::Http::HttpRequest ^ request);
public static string GetEncodedPathAndQuery (this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetEncodedPathAndQuery : Microsoft.AspNetCore.Http.HttpRequest -> string
<Extension()>
Public Function GetEncodedPathAndQuery (request As HttpRequest) As String

参数

request
HttpRequest

要从中组合 uri 片段的请求。

返回

的路径和查询。request

适用于