IVisualizerObjectProvider2.GetDeserializableObjectFrom(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:
 Microsoft::VisualStudio::DebuggerVisualizers::IDeserializableObject ^ GetDeserializableObjectFrom(System::IO::Stream ^ stream);
public Microsoft.VisualStudio.DebuggerVisualizers.IDeserializableObject GetDeserializableObjectFrom (System.IO.Stream stream);
abstract member GetDeserializableObjectFrom : System.IO.Stream -> Microsoft.VisualStudio.DebuggerVisualizers.IDeserializableObject
Public Function GetDeserializableObjectFrom (stream As Stream) As IDeserializableObject

Parameters

stream
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