This documentation is archived and is not being maintained.

ControlBuilder.CreateBuilderFromType Method

Creates a ControlBuilder object for the specified tag.

[Visual Basic]
Public Shared Function CreateBuilderFromType( _
   ByVal parser As TemplateParser, _
   ByVal parentBuilder As ControlBuilder, _
   ByVal type As Type, _
   ByVal tagName As String, _
   ByVal id As String, _
   ByVal attribs As IDictionary, _
   ByVal line As Integer, _
   ByVal sourceFileName As String _
) As ControlBuilder
public static ControlBuilder CreateBuilderFromType(
 TemplateParser parser,
 ControlBuilder parentBuilder,
 Type type,
 string tagName,
 string id,
 IDictionary attribs,
 int line,
 string sourceFileName
public: static ControlBuilder* CreateBuilderFromType(
 TemplateParser* parser,
 ControlBuilder* parentBuilder,
 Type* type,
 String* tagName,
 String* id,
 IDictionary* attribs,
 int line,
 String* sourceFileName
public static function CreateBuilderFromType(
   parser : TemplateParser,
 parentBuilder : ControlBuilder,
 type : Type,
 tagName : String,
 id : String,
 attribs : IDictionary,
 line : int,
 sourceFileName : String
) : ControlBuilder;


The TemplateParser object responsible for parsing the control.
The ControlBuilder object responsible for building the control.
The Type assigned to the control that the builder will create.
The name of the tag to be built. This allows the builder to support multiple tag types.
The ID attribute assigned to the control.
The IDictionary object that holds all the specified tag attributes.
The source file line number for the specified control.
The name of the source file from which the control is to be created.

Return Value

The builder that is responsible for creating the control.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ControlBuilder Class | ControlBuilder Members | System.Web.UI Namespace