DebuggerDisplayAttribute.Type Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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#.