CompiledTemplateBuilder Class

Definition

ITemplate 实现,在生成的页类代码中调用。An ITemplate implementation that is called from the generated page class code. 无法继承此类。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 CompiledTemplateBuilder sealed : System::Web::UI::ITemplate
public sealed class CompiledTemplateBuilder : System.Web.UI.ITemplate
type CompiledTemplateBuilder = class
    interface ITemplate
Public NotInheritable Class CompiledTemplateBuilder
Implements ITemplate
Inheritance
CompiledTemplateBuilder
Implements

Remarks

ASP.NET 使用 CompiledTemplateBuilder 类从生成的类代码创建模板化控件的模板。The CompiledTemplateBuilder class is used by ASP.NET to create a template for a templated control from the generated class code. 不应在代码中直接使用。It is not meant to be used directly in your code.

Constructors

CompiledTemplateBuilder(BuildTemplateMethod)

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

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

(Inherited from Object)
GetType()

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

(Inherited from Object)
InstantiateIn(Control)

使用模板包含的子控件填充 Control 对象。Populates the Control object with the child controls contained in the 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