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
[C#]
public static ControlBuilder CreateBuilderFromType(
 TemplateParser parser,
 ControlBuilder parentBuilder,
 Type type,
 string tagName,
 string id,
 IDictionary attribs,
 int line,
 string sourceFileName
);
[C++]
public: static ControlBuilder* CreateBuilderFromType(
 TemplateParser* parser,
 ControlBuilder* parentBuilder,
 Type* type,
 String* tagName,
 String* id,
 IDictionary* attribs,
 int line,
 String* sourceFileName
);
[JScript]
public static function CreateBuilderFromType(
   parser : TemplateParser,
 parentBuilder : ControlBuilder,
 type : Type,
 tagName : String,
 id : String,
 attribs : IDictionary,
 line : int,
 sourceFileName : String
) : ControlBuilder;

Parameters

parser
The TemplateParser object responsible for parsing the control.
parentBuilder
The ControlBuilder object responsible for building the control.
type
The Type assigned to the control that the builder will create.
tagName
The name of the tag to be built. This allows the builder to support multiple tag types.
id
The ID attribute assigned to the control.
attribs
The IDictionary object that holds all the specified tag attributes.
line
The source file line number for the specified control.
sourceFileName
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.

Requirements

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

See Also

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

Show: