CodeArrayCreateExpression Constructor (Type, CodeExpression)

 

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and code expression indicating the number of indexes for the array.

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

public CodeArrayCreateExpression(
	Type createType,
	CodeExpression size
)

Parameters

createType
Type: System.Type

The data type of the array to create.

size
Type: System.CodeDom.CodeExpression

An expression that indicates the number of indexes of the array to create.

.NET Framework
Available since 1.1
Return to top
Show: