ParseExpression Method
Collapse the table of content
Expand the table of content

ExpressionBuilder.ParseExpression Method

When overridden in a derived class, 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
public Object ParseExpression (
	String expression, 
	Type propertyType, 
	ExpressionBuilderContext context
public function ParseExpression (
	expression : String, 
	propertyType : Type, 
	context : ExpressionBuilderContext
) : Object
Not applicable.



The value of the declarative expression.


The type of the property bound to by the expression.


Contextual information for the evaluation of the expression.

Return Value

An Object containing the parsed representation of the expression; otherwise, a null reference (Nothing in Visual Basic) if ParseExpression is not implemented.

When overridden in a derived class, this method parses the expression and returns it as an object that can be used as the parsedData parameter in a GetCodeExpression or EvaluateExpression method.

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

© 2016 Microsoft