MvcSerializer.Serialize Method (Object)
Serializes a state to a string value.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public virtual string Serialize(
object state
)
public:
virtual String^ Serialize(
Object^ state
)
abstract Serialize :
state:Object -> string
override Serialize :
state:Object -> string
Public Overridable Function Serialize (
state As Object
) As String
Parameters
state
Type: System.ObjectThe object to serialize.
Return Value
Type: System.String
A String that represents the serialized state.
See Also
MvcSerializer Class
Microsoft.Web.Mvc Namespace
Return to top