This documentation is archived and is not being maintained.
ResourceExpressionBuilder::ParseExpression Method (String, Type, ExpressionBuilderContext)
Visual Studio 2010
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 SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: