Export (0) Print
Expand All

CodeArrayCreateExpression Constructor (Type, CodeExpression[])

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and initializers.

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

public CodeArrayCreateExpression(
	Type createType,
	params CodeExpression[] initializers
)

Parameters

createType
Type: System.Type

The data type of the array to create.

initializers
Type: System.CodeDom.CodeExpression[]

An array of expressions to use to initialize the array.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft