Repository navigation
Expand file tree
/
Copy pathCodeCommentStatement.xml
More file actions
200 lines (186 loc) · 10.9 KB
/
Copy pathCodeCommentStatement.xml
File metadata and controls
200 lines (186 loc) · 10.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<Type Name="CodeCommentStatement" FullName="System.CodeDom.CodeCommentStatement">
<TypeSignature Language="C#" Value="public class CodeCommentStatement : System.CodeDom.CodeStatement" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit CodeCommentStatement extends System.CodeDom.CodeStatement" />
<TypeSignature Language="DocId" Value="T:System.CodeDom.CodeCommentStatement" />
<TypeSignature Language="VB.NET" Value="Public Class CodeCommentStatement
Inherits CodeStatement" />
<TypeSignature Language="C++ CLI" Value="public ref class CodeCommentStatement : System::CodeDom::CodeStatement" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.CodeDom.CodeStatement</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ClassInterface</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a statement consisting of a single comment.</summary>
<remarks>
<format type="text/markdown"><]
[!code-csharp[CodeCommentExample#2](~/samples/snippets/csharp/VS_Snippets_CLR/CodeCommentExample/CS/codecommentexample.cs#2)]
[!code-vb[CodeCommentExample#2](~/samples/snippets/visualbasic/VS_Snippets_CLR/CodeCommentExample/VB/codecommentexample.vb#2)]
]]></format>
</remarks>
<altmember cref="T:System.CodeDom.CodeComment" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.CodeDom.CodeCommentStatement" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CodeCommentStatement ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.CodeDom.CodeCommentStatement.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 CodeCommentStatement();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.CodeDom.CodeCommentStatement" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CodeCommentStatement (System.CodeDom.CodeComment comment);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.CodeDom.CodeComment comment) cil managed" />
<MemberSignature Language="DocId" Value="M:System.CodeDom.CodeCommentStatement.#ctor(System.CodeDom.CodeComment)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (comment As CodeComment)" />
<MemberSignature Language="C++ CLI" Value="public:
 CodeCommentStatement(System::CodeDom::CodeComment ^ comment);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="comment" Type="System.CodeDom.CodeComment" />
</Parameters>
<Docs>
<param name="comment">A <see cref="T:System.CodeDom.CodeComment" /> that indicates the comment.</param>
<summary>Initializes a new instance of the <see cref="T:System.CodeDom.CodeCommentStatement" /> class using the specified comment.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CodeCommentStatement (string text);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string text) cil managed" />
<MemberSignature Language="DocId" Value="M:System.CodeDom.CodeCommentStatement.#ctor(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (text As String)" />
<MemberSignature Language="C++ CLI" Value="public:
 CodeCommentStatement(System::String ^ text);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="text" Type="System.String" />
</Parameters>
<Docs>
<param name="text">The contents of the comment.</param>
<summary>Initializes a new instance of the <see cref="T:System.CodeDom.CodeCommentStatement" /> class using the specified text as contents.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CodeCommentStatement (string text, bool docComment);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string text, bool docComment) cil managed" />
<MemberSignature Language="DocId" Value="M:System.CodeDom.CodeCommentStatement.#ctor(System.String,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (text As String, docComment As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:
 CodeCommentStatement(System::String ^ text, bool docComment);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="text" Type="System.String" />
<Parameter Name="docComment" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="text">The contents of the comment.</param>
<param name="docComment">
<see langword="true" /> if the comment is a documentation comment; otherwise, <see langword="false" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.CodeDom.CodeCommentStatement" /> class using the specified text and documentation comment flag.</summary>
<remarks>
<format type="text/markdown"><]
[!code-vb[CodeDomHelloWorldSample#3](~/samples/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb#3)]
The following code example demonstrates the creation of a simple "Hello World" console application and the generation of an XML documentation file for the compiled application.
[!code-csharp[CodeDomHelloWorldSample#1](~/samples/snippets/csharp/VS_Snippets_CLR/CodeDomHelloWorldSample/cs/program.cs#1)]
[!code-vb[CodeDomHelloWorldSample#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb#1)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Comment">
<MemberSignature Language="C#" Value="public System.CodeDom.CodeComment Comment { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.CodeDom.CodeComment Comment" />
<MemberSignature Language="DocId" Value="P:System.CodeDom.CodeCommentStatement.Comment" />
<MemberSignature Language="VB.NET" Value="Public Property Comment As CodeComment" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::CodeDom::CodeComment ^ Comment { System::CodeDom::CodeComment ^ get(); void set(System::CodeDom::CodeComment ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.CodeDom</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.CodeDom.CodeComment</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the contents of the comment.</summary>
<value>A <see cref="T:System.CodeDom.CodeComment" /> that indicates the comment.</value>
<remarks>To be added.</remarks>
<altmember cref="T:System.CodeDom.CodeComment" />
</Docs>
</Member>
</Members>
</Type>