Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AjaxHelper::JavaScriptStringEncode Method (String^)

 

Serializes the specified message and returns the resulting JSON-formatted string.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
String^ JavaScriptStringEncode(
	String^ message
)

Parameters

message
Type: System::String^

The message to serialize.

Return Value

Type: System::String^

The serialized message as a JSON-formatted string.

Return to top
Show:
© 2015 Microsoft