ExpressionBuilder.ParseExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, returns an object that represents the parsed expression.
public:
virtual System::Object ^ ParseExpression(System::String ^ expression, Type ^ propertyType, System::Web::Compilation::ExpressionBuilderContext ^ context);
public virtual object ParseExpression (string expression, Type propertyType, System.Web.Compilation.ExpressionBuilderContext context);
abstract member ParseExpression : string * Type * System.Web.Compilation.ExpressionBuilderContext -> obj
override this.ParseExpression : string * Type * System.Web.Compilation.ExpressionBuilderContext -> obj
Public Overridable 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 type of the property bound to by the expression.
- context
- ExpressionBuilderContext
Contextual information for the evaluation of the expression.
Returns
An Object containing the parsed representation of the expression; otherwise, null
if ParseExpression(String, Type, ExpressionBuilderContext) is not implemented.
Remarks
When overridden in a derived class, this method parses the expression and returns it as an object that can be used as the parsedData
parameter in a GetCodeExpression or EvaluateExpression method.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기