Use of XML annotations in Visual Studio Visual C # with annotations showing line breaks at development time

Source: Internet
Author: User

For the function method comment Description to use the XML statement <summary> paragraph description </summary>, <para> new Segment Example Description </para>, <para> </para> Blank line to join full-width spaces

The following comment breaks the original label structure:

[CSharp]View PlainCopy
  1. <summary> First Line Description
  2. <para> Second Line Description </para>
  3. <para>← The front space is added to the full-width space to display </para><para> </para><para> The above line is blank line </para>
  4. <param name= "S" > s for Table name, do not add. xml suffix </param>
  5. <para> Abnormal:...</para>
  6. <returns> return: Success-true; failure-false. </returns>
  7. </summary>
  8. Private void Getxmltable (string s, DataGridView Datagview, ComboBox com, Button ton) {}


Original statement:

[CSharp]View PlainCopy
  1. <summary> First Line Description
  2. /// <para> Second line description </para>
  3. ///<para>← the first space to be added to the full-width space will be displayed </para><para> </para><para> above row is blank line </para>
  4. /// <para> </para>
  5. ///<para> Exceptions: "Description ..." </para>
  6. ///</summary>
  7. // <param name= "S" > s for the table name, do not add. xml suffix </param>//<returns> return: Success-true; failure-false. </returns>
  8. private void Getxmltable (string s, DataGridView Datagview, ComboBox com, Button ton) {}


Original link: Use of Visual c#xml annotations

Use of XML annotations in Visual Studio Visual C # with annotations showing line breaks at development time

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.