HtmlTextWriter.RegisterTag(String, HtmlTextWriterTag) 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.
Registers markup tags, whether literals or dynamically generated, from the source file so that they can be properly rendered to the requesting client.
protected:
static void RegisterTag(System::String ^ name, System::Web::UI::HtmlTextWriterTag key);
protected static void RegisterTag (string name, System.Web.UI.HtmlTextWriterTag key);
static member RegisterTag : string * System.Web.UI.HtmlTextWriterTag -> unit
Protected Shared Sub RegisterTag (name As String, key As HtmlTextWriterTag)
Parameters
- name
- String
A string that contains the HTML tag.
An HtmlTextWriterTag that specifies which element to render.
Remarks
The predefined markup tags of the HTML language are registered by calls to the RegisterTag method when the first HtmlTextWriter object is created. Dynamic markup tags can be registered by using the RegisterTag method at other times.
The registration table used by the RegisterTag method is static
, so registration of tags applies to all HtmlTextWriter objects on the host computer.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示