Html32TextWriter.OnTagRender(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.
Determines whether to write the specified HTML element to the output stream.
protected:
override bool OnTagRender(System::String ^ name, System::Web::UI::HtmlTextWriterTag key);
protected override bool OnTagRender (string name, System.Web.UI.HtmlTextWriterTag key);
override this.OnTagRender : string * System.Web.UI.HtmlTextWriterTag -> bool
Protected Overrides Function OnTagRender (name As String, key As HtmlTextWriterTag) As Boolean
Parameters
- name
- String
The HTML element to write to the output stream.
The HtmlTextWriterTag enumeration value associated with the HTML element.
Returns
true
if the HTML element is written to the output stream; otherwise, false
.
Remarks
If the ShouldPerformDivTableSubstitution property is true
, the OnTagRender method replaces any div
elements that are rendered by a control with table
elements.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour