ExpressionBuilder.SupportsEvaluate Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When overridden in a derived class, returns a value indicating whether the current ExpressionBuilder object supports no-compile pages.

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public virtual bool SupportsEvaluate { get; }

Property Value

Type: System.Boolean

true if the ExpressionBuilder supports expression evaluation; otherwise, false.

The default value for the SupportsEvaluate property is false. To support no-compile pages, you must override both the EvaluateExpression method and the SupportsEvaluate property.

The following code example demonstrates how to use the SupportsEvaluate property.

.NET Framework
Available since 2.0
Return to top