Share via


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
public bool IsEmptyElementTag { get; }
public:
property bool IsEmptyElementTag {
    bool get ();
}
/** @property */
public boolean get_IsEmptyElementTag ()
public function get IsEmptyElementTag () : boolean

Property Value

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:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003