ControlBuilder.Init Method

Definition

Initializes the ControlBuilder for use after it is instantiated. This method is called by the ASP.NET page framework.

C#
public virtual void Init(System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string id, System.Collections.IDictionary attribs);

Parameters

parser
TemplateParser

The TemplateParser object responsible for parsing the control.

parentBuilder
ControlBuilder

The ControlBuilder object responsible for building the parent control.

type
Type

The Type assigned to the control that the builder will create.

tagName
String

The name of the tag to be built. This allows the builder to support multiple tag types.

id
String

The ID attribute assigned to the control.

attribs
IDictionary

The IDictionary object that holds all the specified tag attributes.

Remarks

This method is called by the ASP.NET page framework during parsing and is not intended to be called directly in you code.

Applies to

Ürün Sürümler
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1