Table of Contents

Class ConstantExpression

Namespace
Dynamicweb.Indexing.Querying.Expressions
Assembly
Dynamicweb.Core.dll

The Class ConstantExpression represents constant value expression

public class ConstantExpression : ValueExpression
Inheritance
ConstantExpression
Inherited Members

Properties

DataValue

Gets or sets the value.

public object DataValue { get; set; }

Property Value

object

The value.

DisplayValue

Gets the value to be shown on the UI page

public object DisplayValue { get; }

Property Value

object

ValueType

Gets the type of the value.

public Type ValueType { get; }

Property Value

Type

The type.

Methods

GetValue()

Gets expression value

public override object GetValue()

Returns

object

The value

ToString()

Converts expression to string

public override string ToString()

Returns

string

String representation of expression

To top