Table of Contents

Class DebuggerBrowsableAttribute

Namespace
System.Diagnostics
Assembly
mscorlib.dll

Determines if and how a member is displayed in the debugger variable windows. This class cannot be inherited.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class DebuggerBrowsableAttribute : Attribute
Inheritance
DebuggerBrowsableAttribute
Inherited Members
Extension Methods

Constructors

DebuggerBrowsableAttribute(DebuggerBrowsableState)

Initializes a new instance of the DebuggerBrowsableAttribute class.

public DebuggerBrowsableAttribute(DebuggerBrowsableState state)

Parameters

state DebuggerBrowsableState

One of the DebuggerBrowsableState values that specifies how to display the member.

Exceptions

ArgumentOutOfRangeException

Properties

State

Gets the display state for the attribute.

public DebuggerBrowsableState State { get; }

Property Value

DebuggerBrowsableState

One of the DebuggerBrowsableState values.