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 _
)
public delegate void HtmlTagCallback (
HtmlTagContext tagContext,
HtmlWriter htmlWriter
)
public delegate void HtmlTagCallback (
HtmlTagContext^ tagContext,
HtmlWriter^ htmlWriter
)
/** @delegate */
public delegate void HtmlTagCallback (
HtmlTagContext tagContext,
HtmlWriter htmlWriter
)
JScript supports the use of delegates, but not the declaration of new ones.
Parameters
- tagContext
A 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
A 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.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003