CastExpression Class
Represents an explicit cast expression.
public class CastExpression : Expression- Inheritance
ExpressionCastExpression
Constructors
| Name | Description |
|---|---|
| CastExpression() | |
| CastExpression(Expression?, TypeReference?) | Initializes a new instance of the CastExpression class with the specified expression and target type. |
CastExpression overloads
CastExpression()
CastExpression.cspublic CastExpression()No documentation is available.
CastExpression(Expression?, TypeReference?)
CastExpression.csInitializes a new instance of the CastExpression class with the specified expression and target type.
public CastExpression(Expression? expression, TypeReference? type)Parameters
expressionExpression?- The expression to cast.
typeTypeReference?- The target type.
Properties
| Name | Description |
|---|---|
| Expression | |
| Type |