Gets or sets whether merge fields and next fields should be preserved after processing the WordTemplate.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean PreserveFields{ get; set; }
<p>Public Property PreserveFields() As Boolean</p>

If set to true, all merge fields and next fields on the template will be preserved by the WordTemplate object after processing and will be available for future use. If set to false, the merge fields and next fields will be replaced with data during processing and will not be available for future use. PreserveFields must be set before calling Open

          WordTemplate WordTempl = new WordTemplate();
          WordTempl.PreserveFields = true;

          Dim WordTempl As New WordTemplate()
          WordTempl.PreserveFields = True