mscorlib(4.0.0.0) API with additions
CodeComment.cs
1
using
System
.
Runtime
.
InteropServices
;
2
3
namespace
System.CodeDom
4
{
6
[
Serializable
]
7
[ClassInterface(
ClassInterfaceType
.AutoDispatch)]
8
[ComVisible(
true
)]
9
public
class
CodeComment
:
CodeObject
10
{
11
private
string
text;
12
13
private
bool
docComment;
14
18
public
bool
DocComment
19
{
20
get
21
{
22
return
docComment;
23
}
24
set
25
{
26
docComment = value;
27
}
28
}
29
32
public
string
Text
33
{
34
get
35
{
36
if
(text !=
null
)
37
{
38
return
text;
39
}
40
return
string
.Empty;
41
}
42
set
43
{
44
text = value;
45
}
46
}
47
49
public
CodeComment
()
50
{
51
}
52
55
public
CodeComment
(
string
text)
56
{
57
Text
= text;
58
}
59
64
public
CodeComment
(
string
text,
bool
docComment)
65
{
66
Text
= text;
67
this.docComment = docComment;
68
}
69
}
70
}
System.CodeDom.CodeComment.CodeComment
CodeComment(string text, bool docComment)
Initializes a new instance of the T:System.CodeDom.CodeComment class using the specified text and doc...
Definition:
CodeComment.cs:64
System.CodeDom.CodeComment.Text
string Text
Gets or sets the text of the comment.
Definition:
CodeComment.cs:33
System.CodeDom.CodeComment.CodeComment
CodeComment()
Initializes a new instance of the T:System.CodeDom.CodeComment class.
Definition:
CodeComment.cs:49
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.CodeDom.CodeComment.DocComment
bool DocComment
Gets or sets a value that indicates whether the comment is a documentation comment.
Definition:
CodeComment.cs:19
System.CodeDom.CodeComment
Represents a comment.
Definition:
CodeComment.cs:9
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.CodeDom.CodeComment.CodeComment
CodeComment(string text)
Initializes a new instance of the T:System.CodeDom.CodeComment class with the specified text as conte...
Definition:
CodeComment.cs:55
System.Runtime.InteropServices.ClassInterfaceType
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Definition:
ClassInterfaceType.cs:7
System.CodeDom
Definition:
CodeArgumentReferenceExpression.cs:3
System.CodeDom.CodeObject
Provides a common base class for most Code Document Object Model (CodeDOM) objects.
Definition:
CodeObject.cs:11
All cs
System.CodeDom
CodeComment.cs
Generated by
1.8.15