ConnectionStringsExpressionBuilder.ParseExpression Method

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 targeted type for the expression.

context

Properties for the control or page.

Return Value

An Object containing the parsed representation of the expression.

The returned Object is of the type Pair. This Pair object can be passed to both the EvaluateExpression method and the GetCodeExpression method as parsedData. The Pair object contains the name and value of the connection string.

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: