共用方式為


UrlHelper.HttpContext 屬性

定義

HttpContext取得與目前要求相關聯的 。

protected:
 property Microsoft::AspNetCore::Http::HttpContext ^ HttpContext { Microsoft::AspNetCore::Http::HttpContext ^ get(); };
protected Microsoft.AspNetCore.Http.HttpContext HttpContext { get; }
member this.HttpContext : Microsoft.AspNetCore.Http.HttpContext
Protected ReadOnly Property HttpContext As HttpContext

屬性值

適用於