Edit

Share via


DebuggerDisplayAttribute.Type Property

Definition

Gets or sets the string to display in the type column of the debugger variable windows.

public:
 property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
public string Type { get; set; }
public string? Type { get; set; }
member this.Type : string with get, set
Public Property Type As String

Property Value

The string to display in the type column of the debugger variable windows.

Remarks

The value can contain curly braces ({ and }). Text within a pair of braces is evaluated as the name of a field, property, or method. You can also use format specifiers within the braces to control how values are displayed. For information about debugger format specifiers, see Format Specifiers in C#.

Applies to