ControlBuilder.CreateBuilderFromType 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.
Creates a ControlBuilder object from the specified tag name and object type, as well as other parameters defining the builder.
public:
static System::Web::UI::ControlBuilder ^ CreateBuilderFromType(System::Web::UI::TemplateParser ^ parser, System::Web::UI::ControlBuilder ^ parentBuilder, Type ^ type, System::String ^ tagName, System::String ^ id, System::Collections::IDictionary ^ attribs, int line, System::String ^ sourceFileName);
public static System.Web.UI.ControlBuilder CreateBuilderFromType (System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string id, System.Collections.IDictionary attribs, int line, string sourceFileName);
static member CreateBuilderFromType : System.Web.UI.TemplateParser * System.Web.UI.ControlBuilder * Type * string * string * System.Collections.IDictionary * int * string -> System.Web.UI.ControlBuilder
Public Shared Function CreateBuilderFromType (parser As TemplateParser, parentBuilder As ControlBuilder, type As Type, tagName As String, id As String, attribs As IDictionary, line As Integer, sourceFileName As String) As ControlBuilder
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.
- line
- Int32
The source file line number for the specified control.
- sourceFileName
- String
The name of the source file from which the control is to be created.
Returns
The builder that is responsible for creating the control.