Edit

Share via


DebuggerDisplayAttribute.Value Property

Definition

Gets the string to display in the value column of the debugger variable windows.

public:
 property System::String ^ Value { System::String ^ get(); };
public string Value { get; }
member this.Value : string
Public ReadOnly Property Value As String

Property Value

The string to display in the value column of the debugger variable.

Remarks

This property contains the string passed in by the value parameter of the constructor.

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