ResourceExpressionBuilder.GetCodeExpression Method

Returns a code expression to evaluate during page execution.

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

The property name of the object.

parsedData

The parsed value of the expression.

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 resource value during page execution.

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: