| [Serializable] | 
To include a comment in a CodeDOM graph that can be generated to source code, add a CodeComment to a CodeCommentStatement, and add this to the statements collection of a CodeMemberMethod or to the comments collection of a CodeNamespace or any object that derives from CodeTypeMember.
| ctor #1 | Overloaded: .ctor()Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the CodeComment class. | 
| ctor #2 | Overloaded: .ctor(string text)Initializes a new instance of the  CodeComment class with the specified text as contents. | 
| ctor #3 | Overloaded: .ctor(string text, bool docComment)Initializes a new instance of the  CodeComment class using the specified text and documentation comment flag. | 
| DocComment | Read-write Gets or sets a value that indicates whether the comment is a documentation comment. | 
| Text | Read-write Gets or sets the text of the comment. | 
| UserData (inherited from System.CodeDom.CodeObject) | Read-only See base class member description: System.CodeDom.CodeObject.UserData Gets or sets the user-definable data for the current object. | 
| Equals (inherited from System.Object) | See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. | 
| GetHashCode (inherited from System.Object) | See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. | 
| GetType (inherited from System.Object) | See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. | 
| ToString (inherited from System.Object) | See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. | 
| Finalize (inherited from System.Object) | See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. | 
| MemberwiseClone (inherited from System.Object) | See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. | 
Hierarchy:
| 
            public CodeComment(); | 
| 
            public CodeComment( | 
text
text
docComment
| 
            public bool DocComment {get; set;}
           | 
| 
            public string Text {get; set;}
           | 
| 
            public IDictionary UserData {get;}
           | 
| 
            ~CodeComment(); | 
| 
            public virtual int GetHashCode(); | 
| 
            public Type GetType(); | 
| 
            protected object MemberwiseClone(); | 
| 
            public virtual string ToString(); |