Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Represents an ActionResult that renders a view to the response.
public ref class ViewResult : Microsoft::AspNetCore::Mvc::ActionResult
public ref class ViewResult : Microsoft::AspNetCore::Mvc::ActionResult, Microsoft::AspNetCore::Mvc::IActionResult, Microsoft::AspNetCore::Mvc::Infrastructure::IStatusCodeActionResult
public class ViewResult : Microsoft.AspNetCore.Mvc.ActionResult
public class ViewResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult
type ViewResult = class
inherit ActionResult
type ViewResult = class
inherit ActionResult
interface IStatusCodeActionResult
interface IActionResult
type ViewResult = class
inherit ActionResult
interface IActionResult
interface IStatusCodeActionResult
Public Class ViewResult
Inherits ActionResult
Public Class ViewResult
Inherits ActionResult
Implements IActionResult, IStatusCodeActionResult
Content |
Gets or sets the Content-Type header for the response. |
Model |
Gets the view data model. |
Status |
Gets or sets the HTTP status code. |
Temp |
Gets or sets the ITempDataDictionary for this result. |
View |
Gets or sets the ViewDataDictionary for this result. |
View |
Gets or sets the IViewEngine used to locate views. |
View |
Gets or sets the name or path of the view that is rendered to the response. |
Execute |
Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method. (Inherited from ActionResult) |
Execute |
Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in