ExpressionContext.ExpressionType Property

Definition

Gets the Type of the expression.

public:
 property Type ^ ExpressionType { Type ^ get(); };
public Type ExpressionType { get; }
member this.ExpressionType : Type
Public ReadOnly Property ExpressionType As Type

Property Value

The Type of the expression.

Remarks

You can use ExpressionContext to determine if a cast is needed when assigning to the expression.

Applies to

See also