Share via


VisualizerObjectSource.GetDeserializableObject(Stream) Method

Definition

Helper method that can be used to get a deserializable object for cases in which the target app might not support Binary Serialization. In these cases the underlying format should be serialized using JSON, so callers can query individual properties to determine the type of the object they want to deserialize.

public:
 static Microsoft::VisualStudio::DebuggerVisualizers::IDeserializableObject ^ GetDeserializableObject(System::IO::Stream ^ serializationStream);
public static Microsoft.VisualStudio.DebuggerVisualizers.IDeserializableObject GetDeserializableObject (System.IO.Stream serializationStream);
static member GetDeserializableObject : System.IO.Stream -> Microsoft.VisualStudio.DebuggerVisualizers.IDeserializableObject
Public Shared Function GetDeserializableObject (serializationStream As Stream) As IDeserializableObject

Parameters

serializationStream
Stream

The stream that contains an object to deserialize.

Returns

An IDeserializableObject instance that can be used to find the type of the underlying object if it was formatted using JSON.

Applies to