Groups | Blog | Home
all groups > visual studio .net ide > september 2004 >

visual studio .net ide : Create hover descriptions for my objects and their methods/properties


Don
9/28/2004 11:03:49 AM
Hi,

In intellisense, when I instantiate a .NET object and view the object and
methods, I get a description for each and any overloads.
With my custom objects, how do I provide markup and get this functionality?

Thanks,

Don

David Alexander
9/29/2004 11:14:56 AM
VS.NET uses the information that you enter into the XML comments, so if you
have a function, just place the cursor on the line above it and type "///"
and VS.NET will automatically create all the empty tags that you need, i.e.,

/// <summary>
///
/// </summary>
/// <param name ="param1"></param>
/// <param name ="param2"></param>
/// <returns></returns>
public string functionName (int param1, bool param2)

Whatever text you type into the tags will appear in Intellisense, but you
may need to rebuild the project for the values to appear.

[quoted text, click to view]

AddThis Social Bookmark Button