System.Web.Compilation.ResourceExpressionBuilder.ParseExpression Method

Returns an object that represents the parsed expression.

Syntax

public override object ParseExpression (string expression, Type propertyType, ExpressionBuilderContext context)

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.

Returns

An object that represents the parsed expression.

Remarks

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

Requirements

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