System.CodeDom.CodeCommentStatement Class

Represents a statement consisting of a single comment.

See Also: CodeCommentStatement Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeCommentStatement : CodeStatement

Remarks

System.CodeDom.CodeCommentStatement can be used to represent a single-line comment statement. System.CodeDom.CodeCommentStatement is a statement, so it can be inserted into a statements collection and will appear on its own line. System.CodeDom.CodeCommentStatement can also be added to the comments collection of System.CodeDom.CodeNamespace or any object that derives from System.CodeDom.CodeTypeMember.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0