This documentation is archived and is not being maintained.

ControlBuilder.Init Method

Initializes the control builder when a Web request is made.

[Visual Basic]
Public Overridable Sub Init( _
   ByVal parser As TemplateParser, _
   ByVal parentBuilder As ControlBuilder, _
   ByVal type As Type, _
   ByVal tagName As String, _
   ByVal id As String, _
   ByVal attribs As IDictionary _
)
[C#]
public virtual void Init(
 TemplateParser parser,
 ControlBuilder parentBuilder,
 Type type,
 string tagName,
 string id,
 IDictionary attribs
);
[C++]
public: virtual void Init(
 TemplateParser* parser,
 ControlBuilder* parentBuilder,
 Type* type,
 String* tagName,
 String* id,
 IDictionary* attribs
);
[JScript]
public function Init(
   parser : TemplateParser,
 parentBuilder : ControlBuilder,
 type : Type,
 tagName : String,
 id : String,
 attribs : IDictionary
);

Parameters

parser
The TemplateParser object responsible for parsing the control.
parentBuilder
The ControlBuilder object responsible for building the control.
type
The Type assigned to the control that the builder will create.
tagName
The name of the tag to be built. This allows the builder to support multiple tag types.
id
The ID attribute assigned to the control.
attribs
The IDictionary object that holds all the specified tag attributes.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ControlBuilder Class | ControlBuilder Members | System.Web.UI Namespace

Show: