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