Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# xml documentation: How to create Notes?

I want to achieve a similar thing to the yellow 'Note:' box in the remarks section on this MSDN page in my own documentation.

I'm using sandcastle and the sandcastle help file builder to generate a reference website out of the documentation tags. What do I have to write to achieve such a notes box?

like image 746
Sebastian P.R. Gingter Avatar asked Jul 20 '11 06:07

Sebastian P.R. Gingter


1 Answers

/// <summary><c>Increment</c> method increments the stored number by one. 
/// <note type="caution">
/// note description here
/// </note>
/// </summary>   

Look at file "C:\Program Files\Sandcastle\Examples\Sandcastle\test.cs"

Type could be one of:

  • note
  • tip
  • caution
  • security
  • important
  • vb/VB/VisualBasic/visual basic note
  • cs/CSharp/c#/C#/visual c# note
  • cpp/c++/C++/CPP/visual c++ note
  • JSharp/j#/J#/visual j# note
  • implement
  • caller
  • inherit
like image 150
chopikadze Avatar answered Sep 20 '22 05:09

chopikadze