AppSettingsExpressionBuilder.GetCodeExpression Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengembalikan ekspresi kode yang digunakan untuk melakukan penetapan properti di kelas halaman yang dihasilkan.
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
Parameter
- entry
- BoundPropertyEntry
Properti tempat ekspresi terikat.
- parsedData
- Object
Objek yang mewakili data yang diurai seperti yang dikembalikan oleh ParseExpression(String, Type, ExpressionBuilderContext).
- context
- ExpressionBuilderContext
Properti untuk kontrol atau halaman.
Mengembalikan
CodeExpression yang digunakan dalam penetapan properti.
Keterangan
Metode ini dipanggil selama pembuatan CodeDOM untuk halaman atau kontrol. Objek yang dikembalikan CodeExpression mewakili ekspresi kode untuk ditambahkan ke penetapan properti di kelas halaman yang dihasilkan.