Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{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.{excerpt}
{signature:C#}
 public boolean IncludeContentsOfUnknownTags{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property IncludeContentsOfUnknownTags() As Boolean
Remarks

The default value is true.

{signature}
{remarks}The default value is *true*.

{remarks}
{example}{code:csharp|title=C#}

  //--- 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}
{code:vb.net
|title=vb.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
{code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle