System.CodeDom.CodeObjectCreateExpression Class

Represents an expression that creates a new instance of a type.

See Also: CodeObjectCreateExpression Members

Syntax

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

Remarks

System.CodeDom.CodeObjectCreateExpression can be used to represent an expression that creates an instance of a type.

The CodeObjectCreateExpression.CreateType property specifies the data type to create a new instance of. The CodeObjectCreateExpression.Parameters property specifies the parameters to pass to the constructor of the type to create a new instance of.

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