Share via


HtmlTagCallback delegate

The HtmlTagCallback delegate is called to enable custom filtering of specific HTML tags.

Namespace:  Microsoft.Exchange.Data.TextConverters
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Delegate Sub HtmlTagCallback ( _
    tagContext As HtmlTagContext, _
    htmlWriter As HtmlWriter _
)
'Usage
Dim instance As New HtmlTagCallback(AddressOf HandlerMethod)
public delegate void HtmlTagCallback(
    HtmlTagContext tagContext,
    HtmlWriter htmlWriter
)

Parameters

Remarks

The tags for which the HtmlTagCallback delegate is called are as follows:

  • a

  • area

  • base

  • form

  • head

  • img

  • image

  • input

  • link

  • button

  • select

  • optgroup

  • option

  • fieldset

  • textarea

  • isindex

  • label

  • legend

Note that callbacks occur when a tag is to be written to the output, not when it is encountered in the input.

See also

Reference

Microsoft.Exchange.Data.TextConverters namespace