Share via


Name Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the name to display in the debugger variable windows.

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

Syntax

'Declaration
Public Property Name As String
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
member Name : string with get, set
function get Name () : String
function set Name (value : String)

Property Value

Type: System. . :: . .String
The name to display in 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.

.NET Framework Security

See Also

Reference

DebuggerDisplayAttribute Class

System.Diagnostics Namespace