JavaScriptResult Class
Definition
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.
Sends JavaScript content to the response.
public class JavaScriptResult : System.Web.Mvc.ActionResult
type JavaScriptResult = class
inherit ActionResult
Public Class JavaScriptResult
Inherits ActionResult
- Inheritance
Constructors
JavaScriptResult() |
Initializes a new instance of the JavaScriptResult class. |
Properties
Script |
Gets or sets the script. |
Methods
ExecuteResult(ControllerContext) |
Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for