Bewerken

Share via


ConnectionStringsExpressionBuilder.ParseExpression Method

Definition

Returns an object that represents the parsed expression.

public:
 override System::Object ^ ParseExpression(System::String ^ expression, Type ^ propertyType, System::Web::Compilation::ExpressionBuilderContext ^ context);
public override object ParseExpression (string expression, Type propertyType, System.Web.Compilation.ExpressionBuilderContext context);
override this.ParseExpression : string * Type * System.Web.Compilation.ExpressionBuilderContext -> obj
Public Overrides Function ParseExpression (expression As String, propertyType As Type, context As ExpressionBuilderContext) As Object

Parameters

expression
String

The value of the declarative expression.

propertyType
Type

The targeted type for the expression.

context
ExpressionBuilderContext

Properties for the control or page.

Returns

An Object containing the parsed representation of the expression.

Remarks

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.

Applies to

See also