AjaxHelper.JavaScriptStringEncode Method
Serializes the specified message and returns the resulting JSON-formatted string.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Function JavaScriptStringEncode ( _ message As String _ ) As String 'Usage Dim instance As AjaxHelper Dim message As String Dim returnValue As String returnValue = instance.JavaScriptStringEncode(message)
Parameters
- message
- Type: System.String
The message to serialize.
Show: