TemplateBuilder.Init(TemplateParser, ControlBuilder, Type, String, String, IDictionary) Metoda
Definicja
Inicjuje konstruktora szablonów, gdy zostanie wysłane żądanie sieci Web.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
Public Overrides Sub Init (parser As TemplateParser, parentBuilder As ControlBuilder, type As Type, tagName As String, ID As String, attribs As IDictionary)
Parametry
- parser
- TemplateParser
TemplateParserOdpowiedzialny za analizowanie kontroli.The TemplateParser responsible for parsing the control.
- parentBuilder
- ControlBuilder
ControlBuilderOsoba odpowiedzialna za tworzenie kontrolek.The ControlBuilder responsible for building the control.
- type
- Type
TypePrzypisane do formantu, który zostanie utworzony przez konstruktora.The Type assigned to the control that the builder will create.
- tagName
- String
Nazwa tagu do skompilowania.The name of the tag to build. Dzięki temu Konstruktor może obsługiwać wiele typów tagów.This allows the builder to support multiple tag types.
- attribs
- IDictionary
IDictionaryZawiera wszystkie atrybuty określonego tagu.The IDictionary that holds all the specified tag attributes.