473,395 Members | 1,762 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,395 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 1321
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.