ResourceExpressionBuilder::ParseExpression Method (String, Type, ExpressionBuilderContext)
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.