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

Definition

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

public:
 virtual 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 virtual void Init (System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string id, System.Collections.IDictionary attribs);
abstract member Init : System.Web.UI.TemplateParser * System.Web.UI.ControlBuilder * Type * string * string * System.Collections.IDictionary -> unit
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 object responsible for parsing the control.

parentBuilder
ControlBuilder ControlBuilder ControlBuilder

The ControlBuilder object responsible for building the parent 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 be built. This allows the builder to support multiple tag types.

id
String String String

The ID attribute assigned to the control.

attribs
IDictionary IDictionary 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