Share via


VisualizerObjectSource.GetData Method

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

Syntax

'Declaration
Public Overridable Sub GetData ( _
    target As Object, _
    outgoingData As Stream _
)
public virtual void GetData(
    Object target,
    Stream outgoingData
)
public:
virtual void GetData(
    Object^ target, 
    Stream^ outgoingData
)
abstract GetData : 
        target:Object * 
        outgoingData:Stream -> unit  
override GetData : 
        target:Object * 
        outgoingData:Stream -> unit
public function GetData(
    target : Object, 
    outgoingData : Stream
)

Parameters

  • target
    Type: Object

    Object being visualized.

  • outgoingData
    Type: Stream

    Outgoing data stream.

Remarks

Gets data from the specified object and serializes it into the outgoing data stream. This object is called when GetData or GetObject is called. You can override this method to support a custom messaging scheme.

.NET Framework Security

See Also

Reference

VisualizerObjectSource Class

Microsoft.VisualStudio.DebuggerVisualizers Namespace