Partager via


HtmlTagContext.IsEndTag Property

The IsEndTag property gets a Boolean value indicating whether the tag that caused the callback to the HtmlTagCallback delegate is an end tag.

Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public ReadOnly Property IsEndTag As Boolean
public bool IsEndTag { get; }
public:
property bool IsEndTag {
    bool get ();
}
/** @property */
public boolean get_IsEndTag ()
public function get IsEndTag () : boolean

Property Value

The IsEndTag property returns true if the current tag is an end tag. Otherwise it returns false.

Remarks

By default, callbacks are not called for end tags. This means that, for example, if you never set InvokeCallbackForEndTag to true during a callback caused by an opening tag, then you will never receive an HtmlTagContext object that has a value of true for the IsEndTag property.

Note that if the value of the IsEndTag 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