CompiledBindableTemplateBuilder 类

定义

提供 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.

此 API 支持产品基础结构,不能在代码中直接使用。

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
继承
CompiledBindableTemplateBuilder
实现

注解

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.

构造函数

CompiledBindableTemplateBuilder(BuildTemplateMethod, ExtractTemplateValuesMethod)

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

方法

Equals(Object)

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

(继承自 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.

(继承自 Object)
GetType()

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

(继承自 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.

(继承自 Object)
ToString()

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

(继承自 Object)

适用于

另请参阅