Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Controls how the contents of unsupported tags are handled. If set to true, the contents of unsupported tags are inserted into the document as text. If set to false, the contents of unsupported tags are ignored.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean IncludeContentsOfUnknownTags{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property IncludeContentsOfUnknownTags() As Boolean</p>Boolean
Remarks

The default value is true.

Example
Code Block
csharp
csharp
titleC#
    //--- Create the HTMLToWord object
  HTMLToWord h2w = new HTMLToWord();

  //--- Set HTMLToWord to ignore the contents of any XHTML tags
  //--- that are not explicitly handled.
  h2w.InsertProperties.IncludeContentsOfUnknownTags = false;
Code Block
vb.net
vb.net
titlevb.net
    '--- Create the HTMLToWord object
  Dim h2w As New HTMLToWord()

  '--- Set HTMLToWord to ignore the contents of any XHTML tags
  '--- that are not explicitly handled.
  h2w.InsertProperties.IncludeContentsOfUnknownTags = False