System.Web.Compilation.ConnectionStringsExpressionBuilder.GetCodeExpression Method

Returns a code expression to evaluate during page parsing.

Syntax

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

Parameters

entry
An object that represents information about the property bound to by the expression.
parsedData
The object that represents parsed data as returned by ConnectionStringsExpressionBuilder.ParseExpression(string, Type, ExpressionBuilderContext).
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 connection string value.

Requirements

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