473,396 Members | 2,010 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.

Anyway to get description text for a method in my class when called from another .NET app?

Is there a way to emulate the same "tooltip" type info that MS provide in
the VS 2003 when typing out methods.

i.e.

SqlCommand.Connection

would show tooltip "Gets or Sets the System.Data.SqlClient.SqlConnection
used by this instance of the System.Data.SqlClient.SqlCommand"

or

Response.Redirect(

would show tooltip "url: the target location"

It would be most helpful information for myself and other developers on my
team -- is there a way to make my class methods do the same tooltip?

thanks, Rob.
Nov 21 '05 #1
4 1051
Rob,

This was discussed in http://www.developerfusion.com VB.NET forum & those
comments are done in C# if I remember correctly. Will have no idea what the
post is called, but it was over 1.5 years ago now.

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
Thanks, unfortunately their forum Search option is not working.

Rob.

"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Rob,

This was discussed in http://www.developerfusion.com VB.NET forum & those
comments are done in C# if I remember correctly. Will have no idea what
the
post is called, but it was over 1.5 years ago now.

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3
"Rob R. Ainscough" <ro*****@pacbell.net> schrieb:
Is there a way to emulate the same "tooltip" type info that MS provide in
the VS 2003 when typing out methods.


Yes.

This information is stored in XML files which have the same name as the DLL
they belong to with the ".xml" extension appended. Typically DLL and XML
files are placed in the same directory. Information about the structure of
these XML files can be found here:

C# Programmer's Reference -- Processing the XML File
<URL:http://msdn.microsoft.com/library/en-us/csref/html/vclrfprocessingxmlfile.asp>

Related:

Adding IntelliSense tooltips, XML comments, and documentation
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
Thank you,

I think I'll wait for VS 2005 since it will support VB -- you lucky C#
folks.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:e%****************@TK2MSFTNGP12.phx.gbl...
"Rob R. Ainscough" <ro*****@pacbell.net> schrieb:
Is there a way to emulate the same "tooltip" type info that MS provide in
the VS 2003 when typing out methods.


Yes.

This information is stored in XML files which have the same name as the
DLL they belong to with the ".xml" extension appended. Typically DLL and
XML files are placed in the same directory. Information about the
structure of these XML files can be found here:

C# Programmer's Reference -- Processing the XML File
<URL:http://msdn.microsoft.com/library/en-us/csref/html/vclrfprocessingxmlfile.asp>

Related:

Adding IntelliSense tooltips, XML comments, and documentation
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

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

Similar topics

11
by: Dave Rahardja | last post by:
OK, so I've gotten into a philosophical disagreement with my colleague at work. He is a proponent of the Template Method pattern, i.e.: class foo { public: void bar() { do_bar(); } protected:...
5
by: Richard Lewis | last post by:
Hello Pythoners, I'm currently writing some Python to manipulate a semi-structured XML document. I'm using DOM (minidom) and I've got working code for transforming the document to HTML files and...
1
by: Henke | last post by:
Hello, I have one ImageButton controls which I initialize in Page_Load and declare on class level. ImageButton save = new ImageButton(); save.ImageUrl = "save.gif" save.Click += new...
3
by: Big Dave | last post by:
I'd like to have a description included in the tool tip (intellisense?) when I call a method from a class I wrote. Just to make sure I'm describing this correctly, I'm talking about the yellow...
6
by: Sergey Poberezovskiy | last post by:
Hi, I have already asked the question, but probably did not make myself clear. Back in VB6 days when you created a public method/property/event you could define what's called "Procedure...
18
by: JohnR | last post by:
From reading the documentation, this should be a relatively easy thing. I have an arraylist of custom class instances which I want to search with an"indexof" where I'm passing an instance if the...
4
by: mflll | last post by:
I am looking into the different techniques of handling arrays of edit boxes in Java Script. The first program below works fine. However, are there better ways of doing this, where the person...
0
by: =?Utf-8?B?T2xkQnV0U3RpbGxMZWFybmluZw==?= | last post by:
I am wanting to write a program which is going to all the user to select a table and then copy the table values from one environment to another. There are of course hunderds of tables, and I have...
0
by: JosAH | last post by:
A Simple Text-Based Menu System Read this this post; there are numerous posts like that: a newbie struggling with some sort of menu implementation. They want nested menus of course and an option...
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: 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: 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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.