Επεξεργασία

Κοινή χρήση μέσω


DeviceSpecificChoiceTemplateBuilder.Init Method

Definition

Initializes the DeviceSpecificChoiceTemplateBuilder for use after it is instantiated. This method is called by the ASP.NET page framework. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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)

Parameters

parser
TemplateParser

The template parser object that is responsible for parsing the control.

parentBuilder
ControlBuilder

The control builder object that is responsible for building the parent control. If the ControlBuilder is not a DeviceSpecificControlBuilder object, an exception is thrown.

type
Type

The type that is assigned to the control that the builder will create.

tagName
String

The name of the tag to be built. This enables the builder to support multiple tag types.

id
String

The ID attribute that is assigned to the control.

attributes
IDictionary

An object that holds the specified tag attributes.

Applies to