Html Tag Id ExtensionsIs Empty Element Method
Determines whether the HTML tag is an empty element.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the tag is an empty element; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool IsEmptyElement(
this HtmlTagId id
)Parameters
- id HtmlTagId
- Identifier.
Return Value
Booleanif the tag is an empty element; otherwise, .
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 the HTML tag is an empty element.