# C1.Schedule.AppointmentCollection.AddRange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Schedule_AppointmentCollection_AddRange_" data-uid="C1.Schedule.AppointmentCollection.AddRange*">AddRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Schedule_AppointmentCollection_AddRange_" data-uid="C1.Schedule.AppointmentCollection.AddRange*"></a>
<h4 id="C1_Schedule_AppointmentCollection_AddRange_C1_Schedule_Appointment___" data-uid="C1.Schedule.AppointmentCollection.AddRange(C1.Schedule.Appointment[])">AddRange(Appointment[])</h4>
<div class="markdown level1 summary"><p>Adds an array of <a class="xref" href="C1.Schedule.Appointment.html">Appointment</a> objects to the collection.
This methods clears collection before adding new items.
Don't use it if you want to save previously existed items.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void AddRange(Appointment[] items)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub AddRange(items As Appointment())</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="C1.Schedule.Appointment.html">Appointment</a>[]</td>
      <td><span class="parametername">items</span></td>
      <td><p>An array of <a class="xref" href="C1.Schedule.Appointment.html">Appointment</a> objects.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.Schedule.BaseCollection-1.AddRange.html#C1_Schedule_BaseCollection_1_AddRange__0___">BaseCollection&lt;Appointment&gt;.AddRange(Appointment[])</a></div>
</div>
