Share via


HtmlToHtml.FilterHtml property

The FilterHtml property gets or sets a Boolean value that indicates whether output HTML will be stripped of executable scripts.

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

Syntax

'Declaration
Public Property FilterHtml As Boolean
    Get
    Set
'Usage
Dim instance As HtmlToHtml
Dim value As Boolean

value = instance.FilterHtml

instance.FilterHtml = value
public bool FilterHtml { get; set; }

Property value

Type: System.Boolean
The FilterHtml property returns true if executable scripts will be removed. Otherwise, this property returns false.

Remarks

The FilterHtml property must be set before conversion begins.

See also

Reference

HtmlToHtml class

HtmlToHtml members

Microsoft.Exchange.Data.TextConverters namespace