Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. xml martkup of C# code

xml martkup of C# code

Scheduled Pinned Locked Moved C#
csharphtmlvisual-studioxmltutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spin vector
    wrote on last edited by
    #1

    Does anyone know how to insert a line break character within the or section of an xml comment / description associated with a method / property / class so that the printout in intellisense or HTML documentation includes this line break? Thanks.

    C 1 Reply Last reply
    0
    • S spin vector

      Does anyone know how to insert a line break character within the or section of an xml comment / description associated with a method / property / class so that the printout in intellisense or HTML documentation includes this line break? Thanks.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      It is just slightly extended XHTML with some additional tags such as "summary", "remarks", "see", "param" etc. Putting paragraphs between <p> & </p> or putting <br/> for simple linebreaks should work.


      Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

      S 1 Reply Last reply
      0
      • C Colin Angus Mackay

        It is just slightly extended XHTML with some additional tags such as "summary", "remarks", "see", "param" etc. Putting paragraphs between <p> & </p> or putting <br/> for simple linebreaks should work.


        Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

        S Offline
        S Offline
        spin vector
        wrote on last edited by
        #3

        funny, I've tried both but neither create a line break in the intellisense helptab. I couldn't recall the codes but you've reminded me and I believe they do work with, e.g., NDoc. Thanks.

        A 1 Reply Last reply
        0
        • S spin vector

          funny, I've tried both but neither create a line break in the intellisense helptab. I couldn't recall the codes but you've reminded me and I believe they do work with, e.g., NDoc. Thanks.

          A Offline
          A Offline
          Andrew Rissing
          wrote on last edited by
          #4

          You just use <para>. http://msdn.microsoft.com/msdnmag/issues/02/06/xmlc/[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups