CodeArrayCreateExpression Constructor (Type, CodeExpression[])

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
Available since 1.1
Return to top
Show:
© 2016 Microsoft