DebuggerBrowsableState Enumeration

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

Provides display instructions for the debugger.

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

public enum DebuggerBrowsableState

Member nameDescription
NeverNever show the element.
CollapsedShow the element as collapsed.
RootHiddenDo not display the root element; display the child elements if the element is a collection or array of items.

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