|
-
Aug 28th, 2004, 07:48 AM
#1
Thread Starter
Lively Member
Dispalying Documentation in the IDE for your own classes
How do you get the popup lists in the IDE for your own class to contain documentation for it. I added XML tags above some of my methods in the class but when I used the compiled class in a project I didnt see any othe the method descriptions. Is there a way to do this?
Darren.
-
Aug 28th, 2004, 06:27 PM
#2
Hyperactive Member
From MSDN:
To use the generated .xml file for use with the IntelliSense feature, let the file name of the .xml file be the same as the assembly you want to support and then make sure the .xml file is in the same directory as the assembly. Thus, when the assembly is referenced in the Visual Studio project, the .xml file is found as well.
Maybe you could post an example how you implement you documentation or how you compile it to see whether it should work.
-
Aug 28th, 2004, 07:02 PM
#3
Thread Starter
Lively Member
Thanks a lot for finding that information for me, it works now, I just had to change the name of the xml file to the same name as my control.
Example comment:
Code:
/// <summary>
/// Add's an item to the ListBoxEx control
/// </summary>
/// <param name="item">
/// The object To Add
/// </param>
public void Add(object item) {
...
}
cheers,
Darren.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|