System.Web.Compilation.ResourceExpressionBuilder.GetCodeExpression Method

Returns a code expression to evaluate during page execution.

Syntax

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

Parameters

entry
The property name of the object.
parsedData
The parsed value of the expression.
context
Properties for the control or page.

Returns

A System.CodeDom.CodeExpression that invokes a method.

Remarks

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

Requirements

Namespace: System.Web.Compilation
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0