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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για