473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Property Description

I am writing a very large class with 150+ properties. The number of
properties and overrides is making the class hard to understand for other
developers. I would like to be able to give a description of what
information each property is returning. I have seen many times where a
short message is given in the tool tip text when coding in the IDE. Is
there any way to do this in my custom class?

Thanks,

David Nash
The GSI Group, Inc.
Jul 21 '05 #1
1 1320
David,
I am writing a very large class with 150+ properties. The number of
properties and overrides is making the class hard to understand for other
developers. Sounds like you need to reconsider your design and split the single large
class into smaller more easily understood classes. Which in itself may make
it harder to understand for others...

I have seen many times where a short message is given in the tool tip text
when coding in the IDE. Is there any way to do this in my custom class? Are you using C# or VB.NET?

With C# look up XML Documentation in the on-line help.

With VB.NET there's the older, not as nice "XML Documentation Tool" at
http://www.gotdotnet.com/team/vb/

Then there's the newer, nicer "VB Commenter" at
http://www.gotdotnet.com/team/ide/, its nicer in that its an Add-In to
VS.NET that works as you type & compile the source.

There are a couple of others, only I do not have links handy. Searching
http://groups.google.com/groups?hl=e....public.dotnet
may turn up something.

NOTE: the above VB tools only work for compiled assemblies. With VS.NET 2005
(aka Whidbey, due out later in 2005) XML Documentation support will be
available for VB.NET.

Hope this helps
Jay


"David Nash" <da***@grainsystems.com> wrote in message
news:Oh**************@TK2MSFTNGP11.phx.gbl...I am writing a very large class with 150+ properties. The number of
properties and overrides is making the class hard to understand for other
developers. I would like to be able to give a description of what
information each property is returning. I have seen many times where a
short message is given in the tool tip text when coding in the IDE. Is
there any way to do this in my custom class?

Thanks,

David Nash
The GSI Group, Inc.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Todd | last post by:
Hello, I'm curious if anyone knows of a way (if one exists) to tell a form (in Access 2002 VBA) to sort on an unbound column of a combo box on the form. Here's what I want to do: A combo box...
5
by: David N | last post by:
All, I created a control that have the following property defined: private bool autoSearch My control is compiled and created fine. But, after adding the control to my form, I noticed...
1
by: Steven.Xu | last post by:
Hi, everyone. I am writting an user control. There has some properties on it. At the design time, the properties will disply on the property windows and user could change it's value after selected...
2
by: Steve Teeples | last post by:
Someone introduced me to PropertyGrid last night. It is a great feature for what I need. A question though. I noticed that when I assign a "TextBox" control to a property grid the description on...
0
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
3
by: Philip Wagenaar | last post by:
I created a Mustinherit class with two must override readonly properties: Public MustInherit Class RequestPart Public MustOverride ReadOnly Property Description() As Boolean Public MustOverride...
2
by: Rolf Welskes | last post by:
Hello, I have writen a simple aspnet control MyCtrl and want to use it as follows: (c01 may be the tag-prefix): <c01:MyCtrl>this is a simple text</c01:MyCtrl>. The control-code:
2
by: Lespaul36 | last post by:
I have a control that I have made that uses a custom class for storage of some of the information. I want it to display in the VS.Net 2003 property grid in the IDE like the Font property does, so...
1
by: Nathan Sokalski | last post by:
I have added Description attributes to several of my Control's Properties, but they are not appearing in the Property Browser. Here is the declaration of my Property: ...
5
by: chrisbarber1 | last post by:
Can anyone help?? How can i get the string representation of a property? For example if I have a Client object that has a FirstName property, how in code can I get "FirstName" from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.