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: System.Object
Object being visualized.
- outgoingData
Type: System.IO.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.