System.Web.Compilation.AppSettingsExpressionBuilder.GetCodeExpression Method

Returns a code expression that is used to perform the property assignment in the generated page class.

Syntax

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

Parameters

entry
The property to which the expression is bound.
parsedData
The object that represents parsed data as returned by ExpressionBuilder.ParseExpression(string, Type, ExpressionBuilderContext).
context
Properties for the control or page.

Returns

A System.CodeDom.CodeExpression that is used in the property assignment.

Remarks

This method is called during the CodeDOM creation for a page or control. The returned System.CodeDom.CodeExpression object represents the code expression to add to the property assignment in the generated page class.

Requirements

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