VisualizerTarget Class

Definition

Contains information regarding the target process and object and allows requesting the Visual Studio debugger for the value of a target object, or to replace the target object.

public abstract class VisualizerTarget : IDisposable
type VisualizerTarget = class
    interface IDisposable
Public MustInherit Class VisualizerTarget
Implements IDisposable
Inheritance
VisualizerTarget
Implements

Properties

IsTargetReplaceable

Gets a value indicating whether the target value can be replaced by the visualizer.

ObjectSource

Gets the object source client which can be used to query the object source for the value of the target object or request the target object to be replaced.

OriginalVisualizedExpression

Gets or sets the expression that was being visualized when the visualizer was first opened.

TargetTypeFullName

Gets the FullName of the target type of the debugger visualizer.

This is always one of the types for which the debugger visualizer provider declares support: it may not be the actual type of the target object but one of its base types or implemented interfaces.

TargetTypeModuleName

Gets the name of the assembly that defines the TypeTargetTypeFullName.

TargetTypeModuleVersion

Gets the version of the assembly that defines the TypeTargetTypeFullName.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RaiseStateChangedAsync(VisualizerTargetStateNotification)

Raises the Changed event.

RaiseVisualizedExpressionChangedAsync(String)

Raises the VisualizedExpressionChanged event.

Events

Changed

Occurs when the state of the visualizer target changes. The event argument specifies the type of the state change.

StateChanged
Obsolete.

Occurs when the state of the visualizer target changes. The event argument specifies the type of the state change.

VisualizedExpressionChanged

Occurs when the expression shown in the visualizer's window textbox changes. The event argument specifies the new expression that was evaluated.

Applies to