HtmlTagContext.TagId property
The TagId property gets a HtmlTagId enumeration value that identifies the tag that caused the callback to the HtmlTagCallback delegate.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public ReadOnly Property TagId As HtmlTagId
Get
'Usage
Dim instance As HtmlTagContext
Dim value As HtmlTagId
value = instance.TagId
public HtmlTagId TagId { get; }
Property value
Type: Microsoft.Exchange.Data.TextConverters.HtmlTagId
Remarks
The TagId property allows you to avoid unnecessary string processing overhead. For example, you can compare tags by comparing enumeration values rather than by relatively costly string comparison with the TagName property.