MSDN Library

CodeStatement Hierarchy

The following table lists the classes derived from System.CodeDom.CodeStatement .

Class Description
System.CodeDom.CodeAssignStatement Represents a simple assignment statement.
System.CodeDom.CodeAttachEventStatement Represents a statement that attaches an event-handler delegate to an event.
System.CodeDom.CodeCommentStatement Represents a statement consisting of a single comment.
System.CodeDom.CodeConditionStatement Represents a conditional branch statement, typically represented as an if statement.
System.CodeDom.CodeExpressionStatement Represents a statement that consists of a single expression.
System.CodeDom.CodeGotoStatement Represents a goto statement.
System.CodeDom.CodeIterationStatement Represents a for statement, or a loop through a block of statements, using a test expression as a condition for continuing to loop.
System.CodeDom.CodeLabeledStatement Represents a labeled statement or a stand-alone label.
System.CodeDom.CodeMethodReturnStatement Represents a return value statement.
System.CodeDom.CodeRemoveEventStatement Represents a statement that removes an event handler.
System.CodeDom.CodeSnippetStatement Represents a statement using a literal code fragment.
System.CodeDom.CodeThrowExceptionStatement Represents a statement that throws an exception.
System.CodeDom.CodeTryCatchFinallyStatement Represents a try block with any number of catch clauses and, optionally, a finally block.
System.CodeDom.CodeVariableDeclarationStatement Represents a variable declaration.

Community Additions

© 2016 Microsoft