PageContext Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The context associated with the current request for a Razor page.
public ref class PageContext : Microsoft::AspNetCore::Mvc::ActionContext
public class PageContext : Microsoft.AspNetCore.Mvc.ActionContext
type PageContext = class
inherit ActionContext
Public Class PageContext
Inherits ActionContext
- Inheritance
Page |
Creates an empty PageContext. |
Page |
Initializes a new instance of PageContext. |
Action |
Gets or sets the PageActionDescriptor. |
Http |
Gets or sets the HttpContext for the current request. (Inherited from ActionContext) |
Model |
Gets the ModelStateDictionary. (Inherited from ActionContext) |
Route |
Gets or sets the RouteData for the current request. (Inherited from ActionContext) |
Value |
Gets or sets the list of IValueProviderFactory instances for the current request. |
View |
Gets or sets ViewDataDictionary. |
View |
Gets or sets the applicable _ViewStart instances. |
منتج | الإصدارات |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |