# C1.Web.Mvc.IOptionalFields

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_IOptionalFields" data-uid="C1.Web.Mvc.IOptionalFields" class="text-break">IOptionalFields Interface
</h1>
  <div class="markdown level0 summary"><p>Structured append optional fields. Currently only supports segmentCount.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_IOptionalFields_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IOptionalFields</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IOptionalFields</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="C1_Web_Mvc_IOptionalFields_SegmentCount" data-uid="C1.Web.Mvc.IOptionalFields.SegmentCount">
          <a class="xref" href="C1.Web.Mvc.IOptionalFields.SegmentCount.html#C1_Web_Mvc_IOptionalFields_SegmentCount">SegmentCount</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the segment count field is used.
The segment count field(identifying the total number of Structured Append symbols
in the distributed file) can contain values from 1 to 99 999 and shall be encoded as two codewords.If the optional
segment count field is used, that field shall appear in every segment.</p>
<p>The default value for this property is <b>true</b>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
