vb System.CodeDom.CodeComment类(方法)实例源码

下面列出了vb System.CodeDom.CodeComment 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.CodeDo   
' Create a CodeComment with some example comment text.
     Dim comment As New CodeComment( _
        "This comment was generated from a System.CodeDom.CodeComment", _
        False) ' Whether the comment is a documentation comment.
     
     ' Create a CodeCommentStatement that contains the comment, in order
     ' to add the comment to a CodeTypeDeclaration Members collection.
     Dim commentStatement As New CodeCommentStatement(comment)	

     ' A Visual Basic code generator produces the following source code for the preceeding example code:

     ' 'This comment was generated from a System.CodeDom.CodeComment


问题


面经


文章

微信
公众号

扫码关注公众号