Click or drag to resize
MimeKit

HtmlWriterWriteEmptyElementTag(String) Method

Write an empty element tag.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public void WriteEmptyElementTag(
	string name
)

Parameters

name  String
The name of the HTML tag.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
ArgumentExceptionname is not a valid HTML tag.
ObjectDisposedException The HtmlWriter has been disposed.
Remarks
Writes an empty element tag.
See Also