mscorlib(4.0.0.0) API with additions
CodeCommentStatement.cs
2 
3 namespace System.CodeDom
4 {
7  [ClassInterface(ClassInterfaceType.AutoDispatch)]
8  [ComVisible(true)]
10  {
11  private CodeComment comment;
12 
15  public CodeComment Comment
16  {
17  get
18  {
19  return comment;
20  }
21  set
22  {
23  comment = value;
24  }
25  }
26 
29  {
30  }
31 
35  {
36  this.comment = comment;
37  }
38 
41  public CodeCommentStatement(string text)
42  {
43  comment = new CodeComment(text);
44  }
45 
50  public CodeCommentStatement(string text, bool docComment)
51  {
52  comment = new CodeComment(text, docComment);
53  }
54  }
55 }
Definition: __Canon.cs:3
CodeCommentStatement()
Initializes a new instance of the T:System.CodeDom.CodeCommentStatement class.
CodeCommentStatement(CodeComment comment)
Initializes a new instance of the T:System.CodeDom.CodeCommentStatement class using the specified com...
Represents a statement consisting of a single comment.
Represents a comment.
Definition: CodeComment.cs:9
Specifies that the class can be serialized.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Represents the abstract base class from which all code statements derive.
CodeCommentStatement(string text)
Initializes a new instance of the T:System.CodeDom.CodeCommentStatement class using the specified tex...
CodeCommentStatement(string text, bool docComment)
Initializes a new instance of the T:System.CodeDom.CodeCommentStatement class using the specified tex...
CodeComment Comment
Gets or sets the contents of the comment.