Share via


ExplicitCastExpression Class

Definition

Represents a SQL CAST expression.

public class ExplicitCastExpression : System.Linq.Expressions.Expression
type ExplicitCastExpression = class
    inherit Expression
Public Class ExplicitCastExpression
Inherits Expression
Inheritance
ExplicitCastExpression

Constructors

ExplicitCastExpression(Expression, Type)

Creates a new instance of a ExplicitCastExpression..

Properties

NodeType

Returns the node type of this Expression. (Inherited from Expression.)

Operand

Gets the operand.

Type

Gets the static type of the expression that this Expression represents. (Inherited from Expression.)

Methods

Accept(ExpressionVisitor)

Dispatches to the specific visit method for this node type.

Equals(Object)

Tests if this object is considered equal to another.

GetHashCode()

Returns a hash code for this object.

ToString()

Creates a String representation of the Expression.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the Visit(Expression) method passing the reduced expression. Throws an exception if the node isn't reducible.

Applies to