HtmlTagContext.IsEmptyElementTag property
The IsEmptyElementTag property gets a Boolean value indicating whether the tag that caused the callback to the HtmlTagCallback delegate is an empty element tag.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public ReadOnly Property IsEmptyElementTag As Boolean
Get
'Usage
Dim instance As HtmlTagContext
Dim value As Boolean
value = instance.IsEmptyElementTag
public bool IsEmptyElementTag { get; }
Property value
Type: System.Boolean
The IsEmptyElementTag property returns true if the current tag is empty. Otherwise, it returns false.
Remarks
Empty element tags are simply those tags, such as the img tag, that do not have a corresponding end tag.
Note that if the value of the IsEmptyElementTag property is true, the following are ignored:
The DeleteInnerContent method
The keepEndTag parameter of the DeleteTag method
The InvokeCallbackForEndTag method.