Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi. I'm using .NET version 2003.

Status
Not open for further replies.

rebShaul

Programmer
Jun 22, 2003
15
0
0
IL
Hi.
I'm using .NET version 2003.
At the Watch window there are some filds of an object which are empty (meaning - when I open the '+' sign at the left side of an object name, there are some lines that should contain the name and the value of fields of the class, but these rows are empty).

Thanks for your help,
Shaul.
 
You can make some properties in your classes non-browsable by using the BrowsableAttribute in your code:
Code:
[Browsable(false)]
public int myProperty {
  get {
    return _myProperty;
  }
  set {
    _myProperty = value;
  }
}
It is likely that Microsoft used it for their internal values they didn't want us seeing.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top