Edit

Share via


CodeObjectCreateExpression Constructors

Definition

Initializes a new instance of the CodeObjectCreateExpression class.

Overloads

CodeObjectCreateExpression()

Initializes a new instance of the CodeObjectCreateExpression class.

CodeObjectCreateExpression(CodeTypeReference, CodeExpression[])

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

CodeObjectCreateExpression(String, CodeExpression[])

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

CodeObjectCreateExpression(Type, CodeExpression[])

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

CodeObjectCreateExpression()

Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs

Initializes a new instance of the CodeObjectCreateExpression class.

public:
 CodeObjectCreateExpression();
public CodeObjectCreateExpression ();
Public Sub New ()

Applies to

CodeObjectCreateExpression(CodeTypeReference, CodeExpression[])

Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs

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

public:
 CodeObjectCreateExpression(System::CodeDom::CodeTypeReference ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ parameters);
public CodeObjectCreateExpression (System.CodeDom.CodeTypeReference createType, params System.CodeDom.CodeExpression[] parameters);
new System.CodeDom.CodeObjectCreateExpression : System.CodeDom.CodeTypeReference * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeObjectCreateExpression
Public Sub New (createType As CodeTypeReference, ParamArray parameters As CodeExpression())

Parameters

createType
CodeTypeReference

A CodeTypeReference that indicates the data type of the object to create.

parameters
CodeExpression[]

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

See also

Applies to

CodeObjectCreateExpression(String, CodeExpression[])

Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs

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

public:
 CodeObjectCreateExpression(System::String ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ parameters);
public CodeObjectCreateExpression (string createType, params System.CodeDom.CodeExpression[] parameters);
new System.CodeDom.CodeObjectCreateExpression : string * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeObjectCreateExpression
Public Sub New (createType As String, ParamArray parameters As CodeExpression())

Parameters

createType
String

The name of the data type of object to create.

parameters
CodeExpression[]

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

Applies to

CodeObjectCreateExpression(Type, CodeExpression[])

Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs
Source:
CodeObjectCreateExpression.cs

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

public:
 CodeObjectCreateExpression(Type ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ parameters);
public CodeObjectCreateExpression (Type createType, params System.CodeDom.CodeExpression[] parameters);
new System.CodeDom.CodeObjectCreateExpression : Type * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeObjectCreateExpression
Public Sub New (createType As Type, ParamArray parameters As CodeExpression())

Parameters

createType
Type

The data type of the object to create.

parameters
CodeExpression[]

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

Applies to