Partager via


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
public HtmlTagId TagId { get; }
public:
property HtmlTagId TagId {
    HtmlTagId get ();
}
/** @property */
public HtmlTagId get_TagId ()
public function get TagId () : 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.

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