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

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes the object tag builder when the page is parsed.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

Public Overrides Sub Init (
	parser As TemplateParser,
	parentBuilder As ControlBuilder,
	type As Type,
	tagName As String,
	id As String,
	attribs As IDictionary
)

Parameters

parser
Type: System.Web.UI.TemplateParser

The TemplateParser responsible for parsing the control.

parentBuilder
Type: System.Web.UI.ControlBuilder

The ControlBuilder responsible for building the control.

type
Type: System.Type

The Type assigned to the control that the builder will create.

tagName
Type: System.String

The name of the tag to be built. This allows the builder to support multiple tag types.

id
Type: System.String

The ID assigned to the control.

attribs
Type: System.Collections.IDictionary

The IDictionary that holds all the specified tag attributes.

Exception Condition
HttpException

The id parameter is null.

- or -

The object tag scope is invalid.

- or -

The classid or progid attributes are not included or are invalid.

.NET Framework
Available since 1.1
Return to top
Show: