Breyta

Deila með


ControlBuilder.Init 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
Public Overridable Sub Init (parser As TemplateParser, parentBuilder As ControlBuilder, type As Type, tagName As String, id As String, attribs As IDictionary)

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