Expression::NewArrayBounds Method (Type, array<Expression>)
.NET Framework 4.6 and 4.5
(in System.Core.dll) System.Linq.Expressions
static NewArrayExpression^ NewArrayBounds(
... array<Expression^>^ bounds
The Type property of the resulting NewArrayExpression represents an array type whose rank is equal to the length of bounds and whose element type is type.
The Type property of each element of bounds must represent an integral type.
The following example demonstrates how to use the NewArrayBounds method to create an expression tree that represents creating a string array that has a rank of 2.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Portable Class Library
Supported in: Portable Class Library
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8