CodeObjectCreateExpression Constructor (String, CodeExpression[])

 

Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeObjectCreateExpression(
	string createType,
	params CodeExpression[] parameters
)

Parameters

createType
Type: System.String

The name of the data type of object to create.

parameters
Type: System.CodeDom.CodeExpression[]

An array of CodeExpression objects that indicates the parameters to use to create the object.

.NET Framework
Available since 1.1
Return to top
Show: