ElementTagName Property
Gets or sets the tag name of the current HTML element.

Namespace: MailBee.Html
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public string TagName { get; set; }

Property Value

Type: String
A string name of the current HTML tag or a null reference (Nothing in Visual Basic) if the current Element object represents a plain-text block rather than a tag.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is an empty string.
Remarks
Tag names are case-insensitive.
Examples
The example is available in Element(String) topic.
See Also