Partager via


JsonNetSerializer.Serialize Method

.NET Framework 4

Serializes the specified object to a TextWriter.

Namespace:  Microsoft.AspNet.SignalR.Json
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Sub Serialize ( _
    value As Object, _
    writer As TextWriter _
)
'Usage
Dim instance As JsonNetSerializer 
Dim value As Object 
Dim writer As TextWriter

instance.Serialize(value, writer)
public void Serialize(
    Object value,
    TextWriter writer
)
public:
virtual void Serialize(
    Object^ value, 
    TextWriter^ writer
) sealed
abstract Serialize : 
        value:Object * 
        writer:TextWriter -> unit  
override Serialize : 
        value:Object * 
        writer:TextWriter -> unit
public final function Serialize(
    value : Object, 
    writer : TextWriter
)

Parameters

Implements

IJsonSerializer.Serialize(Object, TextWriter)

See Also

Reference

JsonNetSerializer Class

Microsoft.AspNet.SignalR.Json Namespace