This documentation is archived and is not being maintained.

DebuggerDisplayAttribute.Target Property

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)

Not applicable.

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 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