Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DebuggerVisualizerAttribute Class

Updated: November 2007

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

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

Visual Basic (Declaration)
<ComVisibleAttribute(True)> _
<AttributeUsageAttribute(AttributeTargets.Assembly Or AttributeTargets.Class Or AttributeTargets.Struct, AllowMultiple := True)> _
Public NotInheritable Class DebuggerVisualizerAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As DebuggerVisualizerAttribute
C#
[ComVisibleAttribute(true)]
[AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true)]
public sealed class DebuggerVisualizerAttribute : Attribute
Visual C++
[ComVisibleAttribute(true)]
[AttributeUsageAttribute(AttributeTargets::Assembly|AttributeTargets::Class|AttributeTargets::Struct, AllowMultiple = true)]
public ref class DebuggerVisualizerAttribute sealed : public Attribute
J#
/** @attribute ComVisibleAttribute(true) */
/** @attribute AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true) */
public final class DebuggerVisualizerAttribute extends Attribute
JScript
public final class DebuggerVisualizerAttribute extends Attribute

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. For more information about visualizers, see Visualizers.

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 Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker