Click or drag to resize
MimeKit

HtmlTagIdExtensionsIsEmptyElement Method

Determines whether or not the HTML tag is an empty element.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static bool IsEmptyElement(
	this HtmlTagId id
)

Parameters

id  HtmlTagId
Identifier.

Return Value

Boolean
true if the tag is an empty element; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlTagId. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Determines whether or not the HTML tag is an empty element.
See Also