다음을 통해 공유


DebuggerBrowsableState Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides display instructions for the debugger.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Enumeration DebuggerBrowsableState
[ComVisibleAttribute(true)]
public enum DebuggerBrowsableState

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Never The element is never shown.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Collapsed The element is shown as collapsed.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 RootHidden The root element is not displayed, but the child elements are displayed if the element is a collection or array of items.

Remarks

DebuggerBrowsableState is used to simplify the view in the debug window. See the DebuggerBrowsableAttribute class for information on the use of this enumeration.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference