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

Function definition tips in class or assembly????

dear all,

when I use classes function from framework, I could see a
small tooltips wich is showing parameters to pass to the
function but in addition a brief derscription of each.

When doing my own function, is there a way to display as
well description of each parameters when implementing that
function?

thanks
regards
Jul 19 '05 #1
4 2662
Serge Calderara <se*************@maillefer.net> wrote:
when I use classes function from framework, I could see a
small tooltips wich is showing parameters to pass to the
function but in addition a brief derscription of each.

When doing my own function, is there a way to display as
well description of each parameters when implementing that
function?


If you're writing in C#, you can add XML documentation to the methods
etc - and within that XML documentation you can describe the parameters
using the <param> element.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Jul 19 '05 #2
To follow up on John's spot on comment, above the function you wish to
document simply type "///". This will cause VS.NET to put the framework
of tags required for building complete documentation that can be used by
VS.NET for intellityping. You will also need to go into your project
properties and under Configuration Properties>Build specify a value for
XML Documentation File. If my project name is TestProject, then I would
set XML Documentation File to \bin\Debug\TestProject.xml. You then
distribute the XML file to developers who will be using your namespace.
If the XML file is in the same directory as the DLL then VS.NET will
show them the comments you added to the functions.

Hope that makes sense.
Rob Epstein
Sr Developer
Auctionworks, Inc.
"Nothing's impossible until proven so" - Me

Serge Calderara wrote:
dear all,

when I use classes function from framework, I could see a
small tooltips wich is showing parameters to pass to the
function but in addition a brief derscription of each.

When doing my own function, is there a way to display as
well description of each parameters when implementing that
function?

thanks
regards


Jul 19 '05 #3
Unfortunatly I am using Visual basic.
is there other way?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4
calderara serge <se*************@maillefer.net> wrote:
Unfortunatly I am using Visual basic.
is there other way?


Search for
VB.NET XML documentation
on Google - there are lots of hits. I don't know if any of them plug
into VS.NET though.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Jul 19 '05 #5

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

Similar topics

12
by: Gaurav Veda | last post by:
Hi ! I am a poor mortal who has become terrified of Python. It seems to have thrown all the OO concepts out of the window. Penniless, I ask a basic question : What is the difference between a...
11
by: Enquiries, Hopkins Research | last post by:
Hi all I have a conundrum that is puzzling me. I have a large codebase in C that I am converting to C++ as fast as possible (i.e. slowly because I keep learning new idioms and stumbling with...
4
by: Peter Speybrouck | last post by:
I have a little problem with a webservice. I reproduced the problem in the following simplified example. I just create a new C# ASP.NET webservice and a c# console application. I added a new...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
3
by: Bob | last post by:
When entering some functions, when the parameter list is shown there are definintions for the items in the paramater list. For example when you enter MID( you get the definition of the first...
8
by: Serge Calderara | last post by:
dear all, when I use classes function from framework, I could see a small tooltips wich is showing parameters to pass to the function but in addition a brief derscription of each. When doing...
10
by: ApexData | last post by:
Private Sub Command35_Click() MsgBox (BestSoundex2(, 6)) DoCmd.RunSQL "UPDATE SET = (BestSoundex2(, 6))" End Sub The Msgbox displays just fine, but the SQL statement gives the following...
26
by: Zytan | last post by:
What happens if I do this: static byte MemberFunction() instead of: public static byte MemberFunction() I know I can't access it. But what does it default to? Private? I can't find any code...
4
by: DR | last post by:
when i build someone's project, and right click a function "goto definition" is disabled. how to reconfigure a .net project to support "goto definition" when i right click on function calls?
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:
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: 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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.