Serialize Method

VisualizerObjectSource.Serialize Method (Stream, Object)

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

public static void Serialize(
	Stream serializationStream,
	object target
)

Parameters

serializationStream
Type: System.IO.Stream

Outgoing data stream.

target
Type: System.Object

Object being visualized.

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.

Return to top
Show:
© 2016 Microsoft