System.CodeDom.CodeExpressionStatement Class

Represents a statement that consists of a single expression.

See Also: CodeExpressionStatement Members

Syntax

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

Remarks

A System.CodeDom.CodeExpressionStatement contains a System.CodeDom.CodeExpression object, and it can be added to a System.CodeDom.CodeStatementCollection object, allowing some expressions to stand alone. For example, a System.CodeDom.CodeMethodInvokeExpression contained by a System.CodeDom.CodeExpressionStatement can represent a method call without a return value.

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