Share via


HtmlTagContext.WriteTag Method

The WriteTag method overloads write the tag that caused the callback to the output Stream or TextWriter.

Remarks

The WriteTag method overloads leave the written tag open so that you can write attributes either with a HtmlWriter object or by using the methods on the HtmlTagContextAttribute structure.

Overload List

Name Description
HtmlTagContext.WriteTag ()
The WriteTag method writes the tag that caused the callback to the output.
HtmlTagContext.WriteTag (Boolean)
The WriteTag method writes the tag that caused the callback to the output and optionally controls whether the attributes originally present are written.