473,386 Members | 1,886 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,386 software developers and data experts.

Method's description

How do you put method description in a method (sub, property) so user can
see it when he browses a method? Thanks


Nov 20 '05 #1
3 1398
Hi Chris,

The Intellisence method descriptions come from an XML file corresponding to
the DLL you are using. (There are a ton of threads on this topic if you
want more specifics...just search the groups for "Intellisense
Description".)

There is a VB.NET XML Documentation Tool (found at
http://www.gotdotnet.com/team/vb/ ) that will help you out a bit.

If you are comfortable with C#, you might want to write your classes in C#
because it will save you a few steps. The C# compiler generates the XML
file automatically using whatever is in the /// <summary> tags within your
code.

Hope this helps!

Eric


"Chris Wagner" <so@hotmail.com> wrote in message
news:OR**************@tk2msftngp13.phx.gbl...
How do you put method description in a method (sub, property) so user can
see it when he browses a method? Thanks

Nov 20 '05 #2
Thanks very much. I just downloaded VBcommenter and it works great!

"Eric Lemmon" <E_********************@hotmail.com> wrote in message
news:OB*************@TK2MSFTNGP11.phx.gbl...
Hi Chris,

The Intellisence method descriptions come from an XML file corresponding
to
the DLL you are using. (There are a ton of threads on this topic if you
want more specifics...just search the groups for "Intellisense
Description".)

There is a VB.NET XML Documentation Tool (found at
http://www.gotdotnet.com/team/vb/ ) that will help you out a bit.

If you are comfortable with C#, you might want to write your classes in C#
because it will save you a few steps. The C# compiler generates the XML
file automatically using whatever is in the /// <summary> tags within your
code.

Hope this helps!

Eric


"Chris Wagner" <so@hotmail.com> wrote in message
news:OR**************@tk2msftngp13.phx.gbl...
How do you put method description in a method (sub, property) so user can
see it when he browses a method? Thanks


Nov 20 '05 #3
* "Chris Wagner" <so@hotmail.com> scripsit:
How do you put method description in a method (sub, property) so user can
see it when he browses a method? Thanks


You will have to provide an XML file with the DLL which has the name of
the DLL with ".xml" appended.

<URL:http://msdn.microsoft.com/library/en-us/csref/html/vclrfProcessingXMLFile.asp>

For VB.NET 2002/2003:

My XML Comments FAQ:

VB Commenter
<URL:http://www.gotdotnet.com/team/ide/>
-> section "VB Commenter"

XML Documentation
<URL:http://www.gotdotnet.com/team/vb/>
-> section "XML Documentation"

VBXC - VB.NET XML Commentor
<URL:http://vbxmldoc.tor-erik.net/>

NDOC (formerly DOC.NET)
<URL:http://ndoc.sourceforge.net/>

VB.DOC
<URL:http://vb-doc.sourceforge.net/>

<URL:http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd>

XML comments will be introduced to VB.NET in version 2005 ("Whidbey").

C# XML comments:

<URL:http://msdn.microsoft.com/library/en-us/csref/html/vclrfTagsForDocumentationComments.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

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

Similar topics

1
by: Paul | last post by:
Hi I'm implementing a few COM classes using Python. I've come across a problem when I'm trying the return an instance of a class from a method on one of my classes. The code is as follows,...
18
by: Jon S via DotNetMonster.com | last post by:
Hi all, I searching a string to see if "Desc" resides in it, if so then replace it with "Description". For some reason if it finds "Desc" in the word "Description" it replaces the "Desc" part...
12
by: Rubbrecht Philippe | last post by:
Hi there, According to documentation I read the ArrayList.IndexOf method uses the Object.Equals method to loop through the items in its list and locate the first index of an item that returns...
8
by: John Cobb | last post by:
Excuse me if I use some terminology incorrectly as I am not well versed in Object Orientation. In short I want to create an Enumerated type similar to the following Enum Monitor as Byte Small...
3
by: jbsfe | last post by:
I have "Spilt" my database and the "lookup" and "seek" methods that previously worked, no longer do. I have learnd from reviewing the posts that the "lookup" and "Seek" methods cannot be used on...
6
by: Mirek Endys | last post by:
Hello all, another problem im solving right now. I badly need to get typeof object that called static method in base classe. I did it by parameter in method Load, but i thing there should be...
4
by: Alan T | last post by:
I got a method in my ancestor form declared as Protected, this method has empty body. In my descendant form I declared as Protected also, then compile has no problem but the name of the method has...
0
by: compumate99 | last post by:
I am trying to parse the xml document using selectsinglenode method. I am doing this using Visual Foxpro >>> loResultXml = CreateObject("Microsoft.XMLDOM") With loResultXml .Async = .F. ...
9
by: =?Utf-8?B?UGFvbG8=?= | last post by:
I'm new to C# so apologies if this is a dumb question. If I want to insert a new row into a SQLServer table I can have a method something like this: public void insertRow(int id, string...
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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.