VisualizerObjectSource.Serialize Method (Stream, Object)
Assembly: Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)
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.