Share via


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)

Syntax

'Declaration
Public Enumeration DebuggerBrowsableState
public enum DebuggerBrowsableState
public enum class DebuggerBrowsableState
type DebuggerBrowsableState
public enum DebuggerBrowsableState

Members

Member name Description
Never Never show the element.
Collapsed Show the element as collapsed.
RootHidden Do not display the root element; display the child elements if the element is a collection or array of items.

Remarks

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.

See Also

Reference

System.Diagnostics Namespace