ExpressionBuilder::SupportsEvaluate Property

 

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:
property bool SupportsEvaluate {
	virtual bool 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
Show: