DeviceSpecificChoiceControlBuilder.Init 메서드

정의

서버 컨트롤이 초기화될 때 발생하며 이는 수명 주기의 첫 번째 단계입니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

public:
 override void Init(System::Web::UI::TemplateParser ^ parser, System::Web::UI::ControlBuilder ^ parentBuilder, Type ^ type, System::String ^ tagName, System::String ^ id, System::Collections::IDictionary ^ attributes);
public override void Init(System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string id, System.Collections.IDictionary attributes);
override this.Init : System.Web.UI.TemplateParser * System.Web.UI.ControlBuilder * Type * string * string * System.Collections.IDictionary -> unit
Public Overrides Sub Init (parser As TemplateParser, parentBuilder As ControlBuilder, type As Type, tagName As String, id As String, attributes As IDictionary)

매개 변수

parser
TemplateParser

컨트롤 구문 분석을 담당하는 템플릿 파서 개체입니다.

parentBuilder
ControlBuilder

부모 컨트롤을 빌드하는 컨트롤 작성기 개체입니다. 개체가 ControlBuilder 아니면 DeviceSpecificControlBuilder 예외가 throw됩니다.

type
Type

작성기에서 만들 컨트롤에 할당된 형식입니다.

tagName
String

빌드할 태그의 이름입니다. 이렇게 하면 작성기에서 여러 태그 유형을 지원할 수 있습니다.

id
String

ID 컨트롤에 할당된 특성입니다.

attributes
IDictionary

IDictionary 지정된 태그 특성을 보유하는 개체입니다.

예외

parentBuilder가 개체가 아닌 경우 DeviceSpecificControlBuilder

설명

이 메서드는 구문 분석하는 동안 ASP.NET 페이지 프레임워크에서 호출되며 코드에서 직접 호출할 수 없습니다.

적용 대상

추가 정보