Mono Class Library: System.CodeDom.CodeCommentStatement Overview | MembersSystem.CodeDom.CodeCommentStatement Constructor |
Creates a System.CodeDom.CodeCommentStatement with the CodeCommentStatement.Comment property initialized to the specified string. [Edit]
|
- text
- String the Comment property of this object is to be initialized to. [Edit]
generates the code
C# Example demoNs.Comments.Add(new CodeCommentStatement("This is a test"));[Edit]
C# Example // This is a test
Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0