# FarPoint.Win.Spread.ConditionalStyleItemCollection.AddRange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_ConditionalStyleItemCollection_AddRange_" data-uid="FarPoint.Win.Spread.ConditionalStyleItemCollection.AddRange*">AddRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_ConditionalStyleItemCollection_AddRange_" data-uid="FarPoint.Win.Spread.ConditionalStyleItemCollection.AddRange*"></a>
<h4 id="FarPoint_Win_Spread_ConditionalStyleItemCollection_AddRange_System_Collections_Generic_IEnumerable_FarPoint_Win_Spread_ConditionalStyleItem__" data-uid="FarPoint.Win.Spread.ConditionalStyleItemCollection.AddRange(System.Collections.Generic.IEnumerable{FarPoint.Win.Spread.ConditionalStyleItem})">AddRange(IEnumerable&lt;ConditionalStyleItem&gt;)</h4>
<div class="markdown level1 summary"><p>Adds a set of the <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</a>s to the current <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItemCollection.html">ConditionalStyleItemCollection</a>.</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(IEnumerable&lt;ConditionalStyleItem&gt; items)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddRange(items As IEnumerable(Of ConditionalStyleItem))</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.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</a>&gt;</td>
      <td><span class="parametername">items</span></td>
      <td><p>The target <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItem.html">ConditionalStyleItem</a> collection.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>One of the <code class="paramref">items</code> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>The <code class="paramref">items</code> were added to another <a class="xref" href="FarPoint.Win.Spread.ConditionalStyleItemCollection.html">ConditionalStyleItemCollection</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
