ResourceExpressionBuilder.EvaluateExpression Method

Returns a value from a resource file.

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

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

Parameters

target

The object containing the expression.

entry

The object that represents information about the property bound to by the expression.

parsedData

The object containing parsed data as returned by the ParseExpression method.

context

Contextual information for the evaluation of the expression.

Return Value

An Object associated with the parsed expression. The parsed expression contains the class name and resource key.

This method is called when an expression of the form <%$ Resources: someResourceKey %> is encountered in a page that uses the no-compile feature. It retrieves the appropriate value from a key/value pair in a resource file.

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: