AppSettingsExpressionBuilder.GetCodeExpression 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.
Returns a code expression that is used to perform the property assignment in the generated page class.
public:
override System::CodeDom::CodeExpression ^ GetCodeExpression(System::Web::UI::BoundPropertyEntry ^ entry, System::Object ^ parsedData, System::Web::Compilation::ExpressionBuilderContext ^ context);
public override System.CodeDom.CodeExpression GetCodeExpression (System.Web.UI.BoundPropertyEntry entry, object parsedData, System.Web.Compilation.ExpressionBuilderContext context);
override this.GetCodeExpression : System.Web.UI.BoundPropertyEntry * obj * System.Web.Compilation.ExpressionBuilderContext -> System.CodeDom.CodeExpression
Public Overrides Function GetCodeExpression (entry As BoundPropertyEntry, parsedData As Object, context As ExpressionBuilderContext) As CodeExpression
Parameters
- entry
- BoundPropertyEntry
The property to which the expression is bound.
- parsedData
- Object
The object that represents parsed data as returned by ParseExpression(String, Type, ExpressionBuilderContext).
- context
- ExpressionBuilderContext
Properties for the control or page.
Returns
A CodeExpression that is used in the property assignment.
Remarks
This method is called during the CodeDOM creation for a page or control. The returned CodeExpression object represents the code expression to add to the property assignment in the generated page class.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈