Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
tagContext
Type: Microsoft.Exchange.Data.TextConverters.HtmlTagContextA HtmlTagContext enumeration that describes the tag that is being filtered and exposes methods that you can use to control how that tag is output.
htmlWriter
Type: Microsoft.Exchange.Data.TextConverters.HtmlWriterA HtmlWriter object to which to write the filtered output.
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.