ObjectTagBuilder.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 object tag builder when the page is parsed.
This API supports the product infrastructure and is not intended to be used directly from your code.
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)
Parameters
- parser
- TemplateParser
The TemplateParser responsible for parsing the control.
- parentBuilder
- ControlBuilder
The ControlBuilder responsible for building the control.
- tagName
- String
The name of the tag to be built. This allows the builder to support multiple tag types.
- attribs
- IDictionary
The IDictionary that holds all the specified tag attributes.
Exceptions
The id
parameter is null
.
-or-
The object tag scope is invalid.
-or-
The classid
or progid
attributes are not included or are invalid.
Applies to
.NET