# C1.Schedule.Printing.DateAppointmentsCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_Printing_DateAppointmentsCollection" data-uid="C1.Schedule.Printing.DateAppointmentsCollection" class="text-break">DateAppointmentsCollection Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> class represents
the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.keyedcollection-2">KeyedCollection&lt;TKey, TItem&gt;</a> collection
which can be used as a data source in C1PrintDocument documents.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.keyedcollection-2">KeyedCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>, <a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div class="level3"><span class="xref">DateAppointmentsCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.Printing.html">C1.Schedule.Printing</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.dll</h6>
  <h5 id="C1_Schedule_Printing_DateAppointmentsCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DateAppointmentsCollection : KeyedCollection&lt;DateTime, DateAppointments&gt;, IList&lt;DateAppointments&gt;, ICollection&lt;DateAppointments&gt;, IList, ICollection, IReadOnlyList&lt;DateAppointments&gt;, IReadOnlyCollection&lt;DateAppointments&gt;, IEnumerable&lt;DateAppointments&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DateAppointmentsCollection
    Inherits KeyedCollection(Of Date, DateAppointments)
    Implements IList(Of DateAppointments), ICollection(Of DateAppointments), IList, ICollection, IReadOnlyList(Of DateAppointments), IReadOnlyCollection(Of DateAppointments), IEnumerable(Of DateAppointments), IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_C1_Schedule_AppointmentCollection_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.#ctor(System.DateTime,System.DateTime,C1.Schedule.AppointmentCollection)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.-ctor.html#C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_C1_Schedule_AppointmentCollection_">DateAppointmentsCollection(DateTime, DateTime, AppointmentCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> collection
for the specified date range with appointment from the specified <span class="xref">C1.Schedule.AppointmentCollection</span> collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_C1_Schedule_AppointmentCollection_C1_Schedule_CalendarInfo_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.#ctor(System.DateTime,System.DateTime,C1.Schedule.AppointmentCollection,C1.Schedule.CalendarInfo,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.-ctor.html#C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_C1_Schedule_AppointmentCollection_C1_Schedule_CalendarInfo_System_Boolean_System_Boolean_System_Boolean_">DateAppointmentsCollection(DateTime, DateTime, AppointmentCollection, CalendarInfo, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> collection
for the specified date range with appointment from the specified <span class="xref">C1.Schedule.AppointmentCollection</span> collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_C1_Schedule_AppointmentCollection_System_Boolean_System_Boolean_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.#ctor(System.DateTime,System.DateTime,C1.Schedule.AppointmentCollection,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.-ctor.html#C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_C1_Schedule_AppointmentCollection_System_Boolean_System_Boolean_">DateAppointmentsCollection(DateTime, DateTime, AppointmentCollection, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> collection
for the specified date range with appointment from the specified <span class="xref">C1.Schedule.AppointmentCollection</span> collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_System_Collections_Generic_IList_C1_Schedule_Appointment__C1_Schedule_CalendarInfo_System_Boolean_System_Boolean_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.#ctor(System.DateTime,System.DateTime,System.Collections.Generic.IList{C1.Schedule.Appointment},C1.Schedule.CalendarInfo,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.-ctor.html#C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_System_Collections_Generic_IList_C1_Schedule_Appointment__C1_Schedule_CalendarInfo_System_Boolean_System_Boolean_">DateAppointmentsCollection(DateTime, DateTime, IList&lt;Appointment&gt;, CalendarInfo, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> collection
for the specified date range with appointment from the specified <span class="xref">C1.Schedule.AppointmentCollection</span> collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_System_Collections_Generic_IList_C1_Schedule_Appointment__System_Boolean_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.#ctor(System.DateTime,System.DateTime,System.Collections.Generic.IList{C1.Schedule.Appointment},System.Boolean)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.-ctor.html#C1_Schedule_Printing_DateAppointmentsCollection__ctor_System_DateTime_System_DateTime_System_Collections_Generic_IList_C1_Schedule_Appointment__System_Boolean_">DateAppointmentsCollection(DateTime, DateTime, IList&lt;Appointment&gt;, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> collection
for the specified date range with appointment from the specified <span class="xref">C1.Schedule.AppointmentCollection</span> collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Schedule_Printing_DateAppointmentsCollection_Item_System_DateTime_System_DateTime_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.Item(System.DateTime,System.DateTime)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.Item.html#C1_Schedule_Printing_DateAppointmentsCollection_Item_System_DateTime_System_DateTime_">this[DateTime, DateTime]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a new <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.html">DateAppointmentsCollection</a> collection containing
<a class="xref" href="C1.Schedule.Printing.DateAppointments.html">DateAppointments</a> objects for the specified date range.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection_GetIntervalAppointments_System_DateTime_System_DateTime_System_Boolean_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.GetIntervalAppointments(System.DateTime,System.DateTime,System.Boolean)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.GetIntervalAppointments.html#C1_Schedule_Printing_DateAppointmentsCollection_GetIntervalAppointments_System_DateTime_System_DateTime_System_Boolean_">GetIntervalAppointments(DateTime, DateTime, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a> containing <span class="xref">C1.Schedule.Appointment</span>
objects for the specified DateTime range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_Printing_DateAppointmentsCollection_GetKeyForItem_C1_Schedule_Printing_DateAppointments_" data-uid="C1.Schedule.Printing.DateAppointmentsCollection.GetKeyForItem(C1.Schedule.Printing.DateAppointments)">
          <a class="xref" href="C1.Schedule.Printing.DateAppointmentsCollection.GetKeyForItem.html#C1_Schedule_Printing_DateAppointmentsCollection_GetKeyForItem_C1_Schedule_Printing_DateAppointments_">GetKeyForItem(DateAppointments)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns key value for the specified item.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
