Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
 
VisualizerObjectSource.CreateReplacementObject Method 

Namespace: Microsoft.VisualStudio.DebuggerVisualizers
Assembly: Microsoft.VisualStudio.DebuggerVisualizers (in microsoft.visualstudio.debuggervisualizers.dll)

Visual Basic (Declaration)
Public Overridable Function CreateReplacementObject ( _
	target As Object, _
	incomingData As Stream _
) As Object
Visual Basic (Usage)
Dim instance As VisualizerObjectSource
Dim target As Object
Dim incomingData As Stream
Dim returnValue As Object

returnValue = instance.CreateReplacementObject(target, incomingData)
C#
public virtual Object CreateReplacementObject (
	Object target,
	Stream incomingData
)
C++
public:
virtual Object^ CreateReplacementObject (
	Object^ target, 
	Stream^ incomingData
)
J#
public Object CreateReplacementObject (
	Object target, 
	Stream incomingData
)
JScript
public function CreateReplacementObject (
	target : Object, 
	incomingData : Stream
) : Object

Parameters

target

Object being visualized.

incomingData

Incoming data stream.

Return Value

An object, with contents constructed from the incoming data stream, that can replace the target object. This method does not actually replace target but rather provides a replacement object for the debugger to do the actual replacement.

Reads an incoming data stream from the debugger side and uses the data to construct a replacement object for the target object. This method is called when ReplaceData or ReplaceObject is called on the debugger side.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker