Share via


VisualizerObjectSource.Serialize Method

Namespace:  Microsoft.VisualStudio.DebuggerVisualizers
Assembly:  Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)

Syntax

'Declaration
Public Shared Sub Serialize ( _
    serializationStream As Stream, _
    target As Object _
)
public static void Serialize(
    Stream serializationStream,
    Object target
)
public:
static void Serialize(
    Stream^ serializationStream, 
    Object^ target
)
static member Serialize : 
        serializationStream:Stream * 
        target:Object -> unit
public static function Serialize(
    serializationStream : Stream, 
    target : Object
)

Parameters

Remarks

Serializes a data object into a stream. Use this method when you need to construct a stream for outgoing data, which is data that you need to transfer to the debugger side. This method is used as a helper method by the default implementation of GetData. You can use this as a helper method if you override GetData or GetObject.

.NET Framework Security

See Also

Reference

VisualizerObjectSource Class

Microsoft.VisualStudio.DebuggerVisualizers Namespace