# GrapeCity.Documents.Word.Fields.TocSeqOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Fields_TocSeqOptions" data-uid="GrapeCity.Documents.Word.Fields.TocSeqOptions" class="text-break">TocSeqOptions Class
</h1>
  <div class="markdown level0 summary"><p>Represents options used to collect SEQ fields paragraphs by the TOC field.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">TocSeqOptions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.Fields.html">GrapeCity.Documents.Word.Fields</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Fields_TocSeqOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TocSeqOptions</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TocSeqOptions</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocSeqOptions_Collect" data-uid="GrapeCity.Documents.Word.Fields.TocSeqOptions.Collect">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocSeqOptions.Collect.html#GrapeCity_Documents_Word_Fields_TocSeqOptions_Collect">Collect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the TOC field should collect SEQ fields paragraphs.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocSeqOptions_IncludeLabelAndNumber" data-uid="GrapeCity.Documents.Word.Fields.TocSeqOptions.IncludeLabelAndNumber">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocSeqOptions.IncludeLabelAndNumber.html#GrapeCity_Documents_Word_Fields_TocSeqOptions_IncludeLabelAndNumber">IncludeLabelAndNumber</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to include text before the collected SEQ field and its result into the TOC field result.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocSeqOptions_SequenceId" data-uid="GrapeCity.Documents.Word.Fields.TocSeqOptions.SequenceId">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocSeqOptions.SequenceId.html#GrapeCity_Documents_Word_Fields_TocSeqOptions_SequenceId">SequenceId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="GrapeCity.Documents.Word.Fields.SeqFieldOptions.Id.html#GrapeCity_Documents_Word_Fields_SeqFieldOptions_Id">Id</a> of SEQ fields whose paragraphs should be collected by the TOC field.</p>
<p>The default value is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.empty">Empty</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocSeqOptions_ToString" data-uid="GrapeCity.Documents.Word.Fields.TocSeqOptions.ToString">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocSeqOptions.ToString.html#GrapeCity_Documents_Word_Fields_TocSeqOptions_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
