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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기