System.Diagnostics.DebuggerBrowsableState Enumeration

Provides display instructions for the debugger.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum DebuggerBrowsableState

Remarks

System.Diagnostics.DebuggerBrowsableState is used to simplify the view in the debug window. Use of the System.Diagnostics.DebuggerDisplayAttribute attribute using this enumeration can result in a much simpler and more pleasing view in the debug window. See the System.Diagnostics.DebuggerBrowsableAttribute class for information on the use of this enumeration.

Members

Member NameDescription
Collapsed

Show the element as collapsed.

Never

Never show the element.

RootHidden

Do not display the root element; display the child elements if the element is a collection or array of items.

Requirements

Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0