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

Statement completion (reflection?)

How can i make my own class method description appear on statment completion in visual studio
For instance if i type string.compare VS displays the overloaded methods and the "Compares two specified System.String objects." line. I'd like to have similar descriptions for my methods

Thanks
Nov 22 '05 #1
2 1228
Laszlo Kertes <an*******@discussions.microsoft.com> wrote:
How can i make my own class method description appear on statment
completion in visual studio?
For instance if i type string.compare VS displays the overloaded
methods and the "Compares two specified System.String objects." line.
I'd like to have similar descriptions for my methods.


Look up "XML Documentation" in the MSDN index. (Assuming you're using
C#, at least - if you're using VB.NET, you'll have to get an add-on.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #2
Laszlo Kertes <an*******@discussions.microsoft.com> wrote:
How can i make my own class method description appear on statment
completion in visual studio?
For instance if i type string.compare VS displays the overloaded
methods and the "Compares two specified System.String objects." line.
I'd like to have similar descriptions for my methods.


Look up "XML Documentation" in the MSDN index. (Assuming you're using
C#, at least - if you're using VB.NET, you'll have to get an add-on.)

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

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

Similar topics

3
by: John | last post by:
Hi, Could you give your opinions on the best code completion in Python IDEs. My only complaint with PythonWin has been that the code completion support is incomplete. The interactive mode has...
11
by: Paul Rubin | last post by:
I frequently find myself writing stuff like # compute frob function, x has to be nonnegative x = read_input_data() assert x >= 0, x # mis-use of "assert" statement frob = sqrt(x)...
2
by: Laszlo Kertes | last post by:
How can i make my own class method description appear on statment completion in visual studio For instance if i type string.compare VS displays the overloaded methods and the "Compares two specified...
1
by: Chuck | last post by:
I am writing a database program in C#. I have a situation when I type the '(' after typing a method call, VS goes into an infinite loop. I then have to exit VS. Has anyone else had any trouble...
4
by: Rob Richardson | last post by:
Greetings! I am trying to write a set of macros to generate Property code for private variables. With the cursor on a line that says "Private m_MyThing as Thing", I would run the macro and ...
2
by: Geoffrey KRETZ | last post by:
Hello, I'm wondering if the following behaviour is the correct one for PostGreSQL (7.4 on UNIX). I've a table temp_tab with 5 fields (f1,f2,f3,...),and I'm a launching the following request :...
4
by: Roy Gourgi | last post by:
Hi, My program has to be able to call on many classes that differ only by a number and rather than use a switch statement I was wandering if it is possible to do it in C# as it is possible in...
5
by: Digital Fart | last post by:
I have 3 strings containing "10" , "20", ">=" would it be possible via reflection to generate a dynamic if statement that return true or false and testing it like this if ( 10 >= 20 ) so a...
2
by: Angel Of Death | last post by:
I have a method. It takes some XML as a parameter. Depending on the content of the XML it should create a specific object and call a KNOWN method. So: public void PersistXml(string XmlData){} ...
1
by: hotflash | last post by:
Hi Master CroCrew et All, I am working on a CASE statement to allow different type of searches to search for different type of projects. EVERYTHING WORKS FINE EXCEPT, if the "Any Projects" radio...
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
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
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
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...
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.