attribute??

  • Thread starter Thread starter perspolis
  • Start date Start date
P

perspolis

Hi everyone
I wanted to know which class Attribute is used to show a description for
methods of a defined class??
thx in advance
 
perspolis said:
Hi everyone
I wanted to know which class Attribute is used to show a description for
methods of a defined class??
thx in advance
Are you talking about the descriptions you get in intellisense?
In that case it is the xml documentation.
c# will automagically generate these for you when you type /// above the
method, then you can fill in the blanks.

JB
 
I did that but nothing be showed..?
I put a summary in /// /// but it dosen't work .???
 
When the file is compiled it should also compile the XML comments. You
enable this by providing a filename for the XML file in the project
configuration.

You can distribute the resulting XML file with your DLL.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
thx Bob
I even did that and generate a xml file ..but in my application when I
refrence to that class Intelligense editor
dosen't show that comment..I put that xml file in dll directory but nothing
changed..??
thx for your helping in advance
 
Back
Top