Επεξεργασία

Κοινή χρήση μέσω


ExpressionBuilder.SupportsEvaluate Property

Definition

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

public:
 virtual property bool SupportsEvaluate { bool get(); };
public virtual bool SupportsEvaluate { get; }
member this.SupportsEvaluate : bool
Public Overridable ReadOnly Property SupportsEvaluate As Boolean

Property Value

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

Examples

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

public override bool SupportsEvaluate
{
    get { return true; }
}
Public Overrides ReadOnly Property SupportsEvaluate() As Boolean
    Get
        Return True
    End Get
End Property

Remarks

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.

Applies to