Share via


HtmlTagContext.TagName Property

The TagName property gets a string containing the name of 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 TagName As String
    Get
'Usage
Dim instance As HtmlTagContext
Dim value As String

value = instance.TagName
public string TagName { get; }

Property Value

Type: System.String

Remarks

For faster code, determine the tag name by comparing against the TagId property rather than the TagName property. Use the TagName property when you want to write the tag name to a stream, string, or other output.