System.CodeDom.CodeCommentStatement Class

Represents a statement consisting of a single comment.

See Also: CodeCommentStatement Members


public class CodeCommentStatement : CodeStatement


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.


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