Sunday, March 23, 2008

Define how to display members of a class.

To control if and how a member of class will be displayed we can use attribute DebuggerBrowsable.

Default value Collapsed of attribute DebuggerBrowsable:

DebuggerBrowsable_Default

Value Never of attribute DebuggerBrowsable:

DebuggerBrowsable_Never

Value RootHidden of attribute DebuggerBrowsable:

DebuggerBrowsable_RootHidden 

Reference:

DebuggerBrowsableAttribute class

No comments: