Class DebuggerBrowsableAttribute
Determines if and how a member is displayed in the debugger variable windows. This class cannot be inherited.
Inherited Members
Namespace: System.Diagnostics
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class DebuggerBrowsableAttribute : Attribute
Constructors
DebuggerBrowsableAttribute(DebuggerBrowsableState)
Initializes a new instance of the DebuggerBrowsableAttribute class.
Declaration
public DebuggerBrowsableAttribute(DebuggerBrowsableState state)
Parameters
Type | Name | Description |
---|---|---|
DebuggerBrowsableState | state | One of the DebuggerBrowsableState values that specifies how to display the member. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |
Properties
State
Gets the display state for the attribute.
Declaration
public DebuggerBrowsableState State { get; }
Property Value
Type | Description |
---|---|
DebuggerBrowsableState | One of the DebuggerBrowsableState values. |