public Array AsArray(
ExpressionType reqType,
int depth
)
Public Function AsArray (
reqType As ExpressionType,
depth As Integer
) As Array
public:
Array^ AsArray(
ExpressionType reqType,
int depth
)
member AsArray :
reqType : ExpressionType *
depth : int -> Array
Some Exprs represent large lists or arrays of integers or reals. This method is the only efficient way of extracting the raw array data from out of the Expr. To preserve the immutability of Exprs, however, the returned array is a copy of the Expr's internal array data.
ArgumentException | If depth > 2 or the requested type is not supported. |
ExprFormatException | If the Expr cannot be converted to this format. |