# GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.AddRange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_TimeSpanFieldCollectionInfo_AddRange_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.AddRange*">AddRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_TimeSpanFieldCollectionInfo_AddRange_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.AddRange*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_TimeSpanFieldCollectionInfo_AddRange_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.AddRange(System.String)">AddRange(string)</h4>
<div class="markdown level1 summary"><p>Adds the contents of another <span class="xref">IList<timespanfield></timespanfield></span> to the end of the collection,
which is built from a specified format string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddRange(string format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddRange(format As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the specified format string.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_TimeSpanFieldCollectionInfo_AddRange_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.AddRange*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_TimeSpanFieldCollectionInfo_AddRange_System_String_System_Int32_System_Char_System_String_System_String_System_String_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TimeSpanFieldCollectionInfo.AddRange(System.String,System.Int32,System.Char,System.String,System.String,System.String,System.String)">AddRange(string, int, char, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Adds the contents of another <span class="xref">IList<timespanfield></timespanfield></span> to the end of the collection,
which is built from specified arguments.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddRange(string pattern, int decimalPlaces, char decimalPoint, string positivePrefix, string positiveSuffix, string negativePrefix, string negativeSuffix)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddRange(pattern As String, decimalPlaces As Integer, decimalPoint As Char, positivePrefix As String, positiveSuffix As String, negativePrefix As String, negativeSuffix As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">pattern</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the pattern string of the format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">decimalPlaces</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that indicates the number of decimal places to display in the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpan</span> cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><span class="parametername">decimalPoint</span></td>
      <td><p>A <b>char</b> value that indicates the character that represents the decimal point.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">positivePrefix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the prefix string when value is positive.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">positiveSuffix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the suffix string when value is positive.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">negativePrefix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the prefix string when value is negative.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">negativeSuffix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the suffix string when value is negative.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
