# C1.Schedule.C1ScheduleStorage

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_C1ScheduleStorage" data-uid="C1.Schedule.C1ScheduleStorage" class="text-break">C1ScheduleStorage Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Schedule.C1ScheduleStorage.html">C1ScheduleStorage</a> component handles all data
operations for the scheduler control and contains specific data storages
for appointments, resources, contacts, owners, labels and statuses,
which are used for binding different collections to the data.
The <a class="xref" href="C1.Schedule.C1ScheduleStorage.html">C1ScheduleStorage</a> component also handles data
importing and exporting to other scheduling formats such as binary, iCal, and XML.</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.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="C1.Schedule.StorageComponent.html">StorageComponent</a></div>
    <div class="level4"><span class="xref">C1ScheduleStorage</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_C1ScheduleStorage_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ScheduleStorage : StorageComponent, IComponent, IDisposable, ISite, IServiceProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ScheduleStorage
    Inherits StorageComponent
    Implements IComponent, IDisposable, ISite, IServiceProvider</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_C1ScheduleStorage__ctor" data-uid="C1.Schedule.C1ScheduleStorage.#ctor">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.-ctor.html#C1_Schedule_C1ScheduleStorage__ctor">C1ScheduleStorage()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the new instance of the <a class="xref" href="C1.Schedule.C1ScheduleStorage.html">C1ScheduleStorage</a> component.</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_C1ScheduleStorage_Actions" data-uid="C1.Schedule.C1ScheduleStorage.Actions">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Actions.html#C1_Schedule_C1ScheduleStorage_Actions">Actions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.ActionCollection.html">ActionCollection</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_AppointmentStorage" data-uid="C1.Schedule.C1ScheduleStorage.AppointmentStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.AppointmentStorage.html#C1_Schedule_C1ScheduleStorage_AppointmentStorage">AppointmentStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.AppointmentStorage.html#C1_Schedule_C1ScheduleStorage_AppointmentStorage">AppointmentStorage</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_CategoryStorage" data-uid="C1.Schedule.C1ScheduleStorage.CategoryStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.CategoryStorage.html#C1_Schedule_C1ScheduleStorage_CategoryStorage">CategoryStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.CategoryStorage.html#C1_Schedule_C1ScheduleStorage_CategoryStorage">CategoryStorage</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_ContactStorage" data-uid="C1.Schedule.C1ScheduleStorage.ContactStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.ContactStorage.html#C1_Schedule_C1ScheduleStorage_ContactStorage">ContactStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.ContactStorage.html#C1_Schedule_C1ScheduleStorage_ContactStorage">ContactStorage</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Days" data-uid="C1.Schedule.C1ScheduleStorage.Days">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Days.html#C1_Schedule_C1ScheduleStorage_Days">Days</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.DayCollection.html">DayCollection</a> which keeps all the days used for scheduling.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Info" data-uid="C1.Schedule.C1ScheduleStorage.Info">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Info.html#C1_Schedule_C1ScheduleStorage_Info">Info</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the reference to the <a class="xref" href="C1.Schedule.CalendarInfo.html">CalendarInfo</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_LabelStorage" data-uid="C1.Schedule.C1ScheduleStorage.LabelStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.LabelStorage.html#C1_Schedule_C1ScheduleStorage_LabelStorage">LabelStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.LabelStorage.html#C1_Schedule_C1ScheduleStorage_LabelStorage">LabelStorage</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_OwnerStorage" data-uid="C1.Schedule.C1ScheduleStorage.OwnerStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.OwnerStorage.html#C1_Schedule_C1ScheduleStorage_OwnerStorage">OwnerStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.ContactStorage.html#C1_Schedule_C1ScheduleStorage_ContactStorage">ContactStorage</a> object used to keep contacts which might be used as appointment owners.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Reminders" data-uid="C1.Schedule.C1ScheduleStorage.Reminders">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Reminders.html#C1_Schedule_C1ScheduleStorage_Reminders">Reminders</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.ReminderCollection.html">ReminderCollection</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_ResourceStorage" data-uid="C1.Schedule.C1ScheduleStorage.ResourceStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.ResourceStorage.html#C1_Schedule_C1ScheduleStorage_ResourceStorage">ResourceStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.ResourceStorage.html#C1_Schedule_C1ScheduleStorage_ResourceStorage">ResourceStorage</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_StatusStorage" data-uid="C1.Schedule.C1ScheduleStorage.StatusStorage">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.StatusStorage.html#C1_Schedule_C1ScheduleStorage_StatusStorage">StatusStorage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Schedule.C1ScheduleStorage.StatusStorage.html#C1_Schedule_C1ScheduleStorage_StatusStorage">StatusStorage</a> object.</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_C1ScheduleStorage_Clear" data-uid="C1.Schedule.C1ScheduleStorage.Clear">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Clear.html#C1_Schedule_C1ScheduleStorage_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears all unbound storages. Loads default sets if any for unbound storages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Dispose_System_Boolean_" data-uid="C1.Schedule.C1ScheduleStorage.Dispose(System.Boolean)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Dispose.html#C1_Schedule_C1ScheduleStorage_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Export_System_IO_Stream_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Export(System.IO.Stream,C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Export.html#C1_Schedule_C1ScheduleStorage_Export_System_IO_Stream_C1_Schedule_FileFormatEnum_">Export(Stream, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Exports the scheduler's data to a stream in the specified format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Export_System_IO_Stream_System_Collections_Generic_IList_C1_Schedule_Appointment__C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Export(System.IO.Stream,System.Collections.Generic.IList{C1.Schedule.Appointment},C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Export.html#C1_Schedule_C1ScheduleStorage_Export_System_IO_Stream_System_Collections_Generic_IList_C1_Schedule_Appointment__C1_Schedule_FileFormatEnum_">Export(Stream, IList&lt;Appointment&gt;, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Exports the appointments' data to a stream in the specified format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Export_System_String_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Export(System.String,C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Export.html#C1_Schedule_C1ScheduleStorage_Export_System_String_C1_Schedule_FileFormatEnum_">Export(string, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Exports the scheduler's data to a file in the specified format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Export_System_String_System_Collections_Generic_IList_C1_Schedule_Appointment__C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Export(System.String,System.Collections.Generic.IList{C1.Schedule.Appointment},C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Export.html#C1_Schedule_C1ScheduleStorage_Export_System_String_System_Collections_Generic_IList_C1_Schedule_Appointment__C1_Schedule_FileFormatEnum_">Export(string, IList&lt;Appointment&gt;, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Exports the appointments' data to a file in the specified format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Import_System_IO_Stream_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Import(System.IO.Stream,C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Import.html#C1_Schedule_C1ScheduleStorage_Import_System_IO_Stream_C1_Schedule_FileFormatEnum_">Import(Stream, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Imports the scheduler's data from a stream whose data is in the specified format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_Import_System_String_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Import(System.String,C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.Import.html#C1_Schedule_C1ScheduleStorage_Import_System_String_C1_Schedule_FileFormatEnum_">Import(string, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Imports data into the scheduler from a file of the specified format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_ReadAppointments_System_IO_Stream_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.ReadAppointments(System.IO.Stream,C1.Schedule.FileFormatEnum)">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.ReadAppointments.html#C1_Schedule_C1ScheduleStorage_ReadAppointments_System_IO_Stream_C1_Schedule_FileFormatEnum_">ReadAppointments(Stream, FileFormatEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads appointments data from a stream.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_C1ScheduleStorage_AppointmentsLoaded" data-uid="C1.Schedule.C1ScheduleStorage.AppointmentsLoaded">
          <a class="xref" href="C1.Schedule.C1ScheduleStorage.AppointmentsLoaded.html">AppointmentsLoaded</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when appointments were loaded from the file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
