|
-
Jul 19th, 2004, 11:22 AM
#1
can you comment constructors?
IF possible, how do you put comments on your NEW class constructors so that when you call them via code, they display info on what the constructor does
-
Jul 19th, 2004, 11:40 AM
#2
I think you can add comments/summary fields to classes (maybe functions) like shown in the object browser, by using attributes. Im looking up how to do it myself out of interest, but my help file is playing up. If you work it out before I do please tell .
-
Jul 19th, 2004, 11:56 AM
#3
yay gay
Yes you can, they are functions just like any other elese
\m/  \m/
-
Jul 19th, 2004, 12:00 PM
#4
-
Jul 19th, 2004, 12:04 PM
#5
Not natively in VB, but you can in C# and J#.
There are third party tools that can do it for you in VB, or you can create the XML file that contains the information yourself. Just make something in C# and copy it for what you need int VB. I think the XML file needs to be in the same folder as the assembly and it should work.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 19th, 2004, 12:06 PM
#6
why would they put the functionality in C# but not in VB, that is just another reason for people to bash VB still
-
Jul 19th, 2004, 12:07 PM
#7
Originally posted by kleinma
why would they put the functionality in C# but not in VB, that is just another reason for people to bash VB still
I dunno. I believe that it will be available in 2005.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 19th, 2004, 12:11 PM
#8
ok im quitting coding until then
-
Jul 19th, 2004, 12:17 PM
#9
I would if I were you.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 19th, 2004, 02:06 PM
#10
Hi.
Look for a program called XMLComments on MSDN.
After you have compiled your DLL you can open it with this program and add all the comments. This is saved as an XML file that you need to place in the same dir as the DLL.
Note: this will, of course, only work with references DLL's and not classes from the same project.
I wish I could think of something witty to put in my sig...
...Currently using VS2013...
-
Jul 19th, 2004, 02:12 PM
#11
thanks ill check it out when i resume programming in 2 years
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|