Export (0) Print
Expand All

DebuggerVisualizerAttribute Class

Specifies that the type has a visualizer. This class cannot be inherited.

Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)] 
[AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple=true)] 
public sealed class DebuggerVisualizerAttribute : Attribute
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple=true) */ 
public final class DebuggerVisualizerAttribute extends Attribute
ComVisibleAttribute(true) 
AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple=true) 
public final class DebuggerVisualizerAttribute extends Attribute
Not applicable.

This attribute can be used at the assembly level. Typically the attribute constructors take two types. The two types are a visualizer and a visualizer object source, specified as types or as fully qualified assembly type names. The second option is provided so that the visualizer assembly does not need to be referenced by the assembly containing the DebuggerVisualizerAttribute. This allows a component creator to ship the visualizer in a DLL to be called only at debug time. The Description property specifies the visualizer description that appears in the drop-down box. The target parameters specify the type that is the target of the visualizer.

Note   Visualizer and visualizer object source implementation is dependent upon the hosting debugger. For information on creating a visualizer for Visual Studio 2005, see How to: Write a Visualizer.

System.Object
   System.Attribute
    System.Diagnostics.DebuggerVisualizerAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft