Delen via


JavaScriptResult Class

Definition

Sends JavaScript content to the response.

public class JavaScriptResult : System.Web.Mvc.ActionResult
type JavaScriptResult = class
    inherit ActionResult
Public Class JavaScriptResult
Inherits ActionResult
Inheritance
JavaScriptResult

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