CompiledBindableTemplateBuilder Class

Definition

提供 IBindableTemplate 对象的默认实现,ASP.NET 只要分析 ASP.NET 控件(如 FormView)的模板化内容的双向数据绑定,就会使用该对象。Provides the default implementation of an IBindableTemplate object, which ASP.NET uses whenever it parses two-way data-binding within the templated content of an ASP.NET control such as FormView. 此类不能被继承。This class cannot be inherited.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class CompiledBindableTemplateBuilder sealed : System::Web::UI::IBindableTemplate
public sealed class CompiledBindableTemplateBuilder : System.Web.UI.IBindableTemplate
type CompiledBindableTemplateBuilder = class
    interface IBindableTemplate
    interface ITemplate
Public NotInheritable Class CompiledBindableTemplateBuilder
Implements IBindableTemplate
Inheritance
CompiledBindableTemplateBuilder
Implements

Remarks

ASP.NET 在分析 ASP.NET 控件的模板化内容中的声明性双向数据绑定时使用 CompiledBindableTemplateBuilder 类,如 FormViewASP.NET uses the CompiledBindableTemplateBuilder class whenever it parses declarative two-way data-binding within the templated content of an ASP.NET control such as FormView. 不应在代码中直接使用。It is not meant to be used directly in your code.

有关 ASP.NET 数据绑定、表达式和语法的详细信息,请参阅绑定到数据库数据绑定表达式概述For more information about ASP.NET data binding, expressions, and syntax, see Binding to Databases and Data-Binding Expressions Overview.

Constructors

CompiledBindableTemplateBuilder(BuildTemplateMethod, ExtractTemplateValuesMethod)

初始化 CompiledBindableTemplateBuilder 类的新实例。Initializes a new instance of the CompiledBindableTemplateBuilder class.

Methods

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExtractValues(Control)

检索在模板化内容中使用双向 ASP.NET 数据绑定语法绑定的值的一组名称/值对。Retrieves a set of name/value pairs for values bound using two-way ASP.NET data-binding syntax within the templated content.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
InstantiateIn(Control)

定义子控件和模板所属的 Control 对象。Defines the Control object that child controls and templates belong to. 然后在内联模板中定义这些子控件。These child controls are in turn defined within an inline template.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also