ResourceExpressionBuilder.GetCodeExpression Method

Definition

Returns a code expression to evaluate during page execution.

C#
public override System.CodeDom.CodeExpression GetCodeExpression(System.Web.UI.BoundPropertyEntry entry, object parsedData, System.Web.Compilation.ExpressionBuilderContext context);

Parameters

entry
BoundPropertyEntry

The property name of the object.

parsedData
Object

The parsed value of the expression.

context
ExpressionBuilderContext

Properties for the control or page.

Returns

A CodeExpression that invokes a method.

Remarks

This method is called during the CodeDOM creation for a page or control. The CodeExpression object returned is of the type CodeMethodInvokeExpression and represents the method to call when retrieving a resource value during page execution.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also