DebuggerDisplayAttribute.Target Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the type of the attribute's target.

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

public Type Target { get; set; }
/** @property */
public Type get_Target ()

/** @property */
public void set_Target (Type value)

public function get Target () : Type

public function set Target (value : Type)

Property Value

A Type object that identifies the attribute's target type.

Exception typeCondition


Target is set to a null reference (Nothing in Visual Basic).

Use this property to specify the target type when the attribute is used at the assembly level.

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions