[Share] Comment multiple lines to VB.net

Source: Internet
Author: User

Copy From http://www.cnblogs.com/renyu732/archive/2007/07/28/245659.html

Comment multiple lines to VB.net

ToProgramAnnotations are a task that every programmer must complete. However, sometimes we need to annotate a piece of text. It is difficult to add a line of comments, development efficiency will also decrease.

I saw the text block annotation tips on the internet today. I would like to share with you the following:
Select the text block you want to comment on, and then press Ctrl-K Ctrl-C to annotate the text block you choose.
If you want to cancel the text block that has been commented out, Ctrl-K Ctrl-U.

More development tips: http://www.gudanuf.com/DotNetTips.htm

For another exampleCode

''' <Summary>
''' Method
''' </Summary>
''' <Param name = "B"> function of parameter B </param>
''' <Returns> Returns a Boolean value </returns>
Function A (byval B as integer) as Boolean

End Function

In this way, when other code is compiled to call function a, intelligent awareness of VB. NET will provide corresponding help.
Brief Introduction
<Summary> the label stores the function description.
<Param> the label is the description of the parameter, and the name attribute is the name of the parameter you want to describe.
<Returns> the label contains the description of the returned value.

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.