ResourceExpressionBuilder.ParseExpression Method (String, Type, ExpressionBuilderContext)

Returns an object that represents the parsed expression.

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

public:
virtual Object^ ParseExpression (
	String^ expression, 
	Type^ propertyType, 
	ExpressionBuilderContext^ context
) override
public Object ParseExpression (
	String expression, 
	Type propertyType, 
	ExpressionBuilderContext context
)
public override function ParseExpression (
	expression : String, 
	propertyType : Type, 
	context : ExpressionBuilderContext
) : Object
Not applicable.

Parameters

expression

The value of the declarative expression.

propertyType

The type of the property bound to by the expression.

context

Contextual information for the evaluation of the expression.

Return Value

An Object that represents the parsed expression.

Exception typeCondition

HttpException

The resource expression cannot be found or is invalid.

The returned Object is of type ResourceExpressionFields. This method parses the expression and returns a ClassKey and a ResourceKey property value in the returned ResourceExpressionFields object, if those properties are provided in the expression.

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: