ResourceExpressionBuilder::ParseExpression Method (String^, Type^, ExpressionBuilderContext^)
.NET Framework (current version)
Returns an object that represents the parsed expression.
Assembly: System.Web (in System.Web.dll)
public: virtual Object^ ParseExpression( String^ expression, Type^ propertyType, ExpressionBuilderContext^ context ) override
Parameters
- expression
-
Type:
System::String^
The value of the declarative expression.
- propertyType
-
Type:
System::Type^
The type of the property bound to by the expression.
- context
-
Type:
System.Web.Compilation::ExpressionBuilderContext^
Contextual information for the evaluation of the expression.
| Exception | Condition |
|---|---|
| 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: