System.CodeDom.CodeObjectCreateExpression Class

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

See Also: CodeObjectCreateExpression Members


public class CodeObjectCreateExpression : CodeExpression


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.


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