Expression.Unbox(Expression, Type) Expression.Unbox(Expression, Type) Expression.Unbox(Expression, Type) Method

Definition

Creates a UnaryExpression that represents an explicit unboxing.

public:
 static System::Linq::Expressions::UnaryExpression ^ Unbox(System::Linq::Expressions::Expression ^ expression, Type ^ type);
public static System.Linq.Expressions.UnaryExpression Unbox (System.Linq.Expressions.Expression expression, Type type);
static member Unbox : System.Linq.Expressions.Expression * Type -> System.Linq.Expressions.UnaryExpression

Parameters

expression
Expression Expression Expression

An Expression to unbox.

type
Type Type Type

The new Type of the expression.

Returns

Applies to