# C1.Web.Mvc.IOptionalFields.SegmentCount

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_IOptionalFields_SegmentCount_" data-uid="C1.Web.Mvc.IOptionalFields.SegmentCount*">SegmentCount Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_IOptionalFields_SegmentCount_" data-uid="C1.Web.Mvc.IOptionalFields.SegmentCount*"></a>
<h4 id="C1_Web_Mvc_IOptionalFields_SegmentCount" data-uid="C1.Web.Mvc.IOptionalFields.SegmentCount">SegmentCount</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool SegmentCount { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property SegmentCount As Boolean</code></pre>
</div>
</div>
