TemplateBuilder.Init(TemplateParser, ControlBuilder, Type, String, String, IDictionary) TemplateBuilder.Init(TemplateParser, ControlBuilder, Type, String, String, IDictionary) TemplateBuilder.Init(TemplateParser, ControlBuilder, Type, String, String, IDictionary) Method

Definition

Initializes the template builder when a Web request is made.

public:
 override void Init(System::Web::UI::TemplateParser ^ parser, System::Web::UI::ControlBuilder ^ parentBuilder, Type ^ type, System::String ^ tagName, System::String ^ ID, System::Collections::IDictionary ^ attribs);
public override void Init (System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string ID, System.Collections.IDictionary attribs);
override this.Init : System.Web.UI.TemplateParser * System.Web.UI.ControlBuilder * Type * string * string * System.Collections.IDictionary -> unit

Parameters

parser
TemplateParser TemplateParser TemplateParser

The TemplateParser responsible for parsing the control.

parentBuilder
ControlBuilder ControlBuilder ControlBuilder

The ControlBuilder responsible for building the control.

type
Type Type Type

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

tagName
String String String

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

ID
String String String

The ID assigned to the control.

attribs
IDictionary IDictionary IDictionary

The IDictionary that holds all the specified tag attributes.

Applies to

See also