ControlBuilder.Init Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- tagName
- String
The name of the tag to be built. This allows the builder to support multiple tag types.
- 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應