ConnectionStringsExpressionBuilder.GetCodeExpression Method

Returns a code expression to evaluate during page parsing.

Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)

public:
virtual CodeExpression^ GetCodeExpression (
	BoundPropertyEntry^ entry, 
	Object^ parsedData, 
	ExpressionBuilderContext^ context
) override
public CodeExpression GetCodeExpression (
	BoundPropertyEntry entry, 
	Object parsedData, 
	ExpressionBuilderContext context
)
public override function GetCodeExpression (
	entry : BoundPropertyEntry, 
	parsedData : Object, 
	context : ExpressionBuilderContext
) : CodeExpression
Not applicable.

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 ParseExpression.

context

Properties for the control or page.

Return Value

A CodeExpression that invokes a method.

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 connection string value.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: