Click here to Skip to main content
15,905,785 members
Home / Discussions / C#
   

C#

 
QuestionSql Datetime Pin
JelleM25-May-06 8:23
JelleM25-May-06 8:23 
AnswerRe: Sql Datetime Pin
Arjan Einbu25-May-06 9:09
Arjan Einbu25-May-06 9:09 
GeneralRe: Sql Datetime Pin
JelleM25-May-06 9:26
JelleM25-May-06 9:26 
AnswerRe: Sql Datetime Pin
Michael Potter25-May-06 9:21
Michael Potter25-May-06 9:21 
GeneralRe: Sql Datetime Pin
User 665825-May-06 9:48
User 665825-May-06 9:48 
QuestionAdding function's description Pin
zaigham_chaudhry25-May-06 8:01
zaigham_chaudhry25-May-06 8:01 
AnswerRe: Adding function's description Pin
Paul Brower25-May-06 8:32
Paul Brower25-May-06 8:32 
AnswerRe: Adding function's description [modified] Pin
Josh Smith25-May-06 8:47
Josh Smith25-May-06 8:47 
You don't need to use the Description attribute, as mentioned in the other reply. That attribute will provide the text shown in the property grid for a property. What you are looking for is XML comments. Use the triple-slash comments on your method. Then:
1)Open the Property Pages for your class library project in Visual Studio.

2) Click 'Configuration Properties' and then 'Build' in the TreeView on the left.

3) You'll see under the 'Outputs' section a property called 'XML Documentation File'. Set that value to <AssemblyName>.xml (where AssemblyName is the name of the assembly). For example, if your assembly is foo.dll then call your XML file foo.xml

That will cause your XML comments to be included in an output file generated every time you build. Consumers of your DLL should put that XML file in the same directory which contains the DLL, so that while using your types they'll get IntelliSense w/ your comments.

Josh
GeneralRe: Adding function's description [modified] Pin
Paul Brower25-May-06 10:48
Paul Brower25-May-06 10:48 
GeneralRe: Adding function's description [modified] Pin
Josh Smith26-May-06 9:35
Josh Smith26-May-06 9:35 
Questionaborting a loop using button Pin
Maxicatten25-May-06 7:23
Maxicatten25-May-06 7:23 
AnswerRe: aborting a loop using button Pin
Judah Gabriel Himango25-May-06 7:47
sponsorJudah Gabriel Himango25-May-06 7:47 
QuestionDataSet Merge and Database Update Pin
sonicsqwirl25-May-06 6:04
sonicsqwirl25-May-06 6:04 
QuestionLogin system help? Pin
eric_tran25-May-06 5:32
eric_tran25-May-06 5:32 
AnswerRe: Login system help? Pin
J4amieC25-May-06 5:56
J4amieC25-May-06 5:56 
Questioncant dispose of webbrowser obj after print???? Pin
dpietro25-May-06 5:31
dpietro25-May-06 5:31 
Questionsurvey software Pin
ap_sa25-May-06 4:59
ap_sa25-May-06 4:59 
AnswerRe: survey software Pin
led mike25-May-06 5:55
led mike25-May-06 5:55 
QuestionDate Time Query Pin
kiran@nt525-May-06 4:55
kiran@nt525-May-06 4:55 
AnswerRe: Date Time Query Pin
led mike25-May-06 5:19
led mike25-May-06 5:19 
Questionquestion about hot keys! Pin
liloma25-May-06 4:53
liloma25-May-06 4:53 
QuestionStatusStrip Label to the right Pin
Herhighness25-May-06 4:50
Herhighness25-May-06 4:50 
AnswerRe: StatusStrip Label to the right Pin
led mike25-May-06 5:02
led mike25-May-06 5:02 
AnswerRe: StatusStrip Label to the right Pin
AETaylor25-May-06 20:57
AETaylor25-May-06 20:57 
QuestionIcon in MainMenu (IE style) Pin
SigmaMP25-May-06 4:33
SigmaMP25-May-06 4:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.