# C1.Schedule.C1ScheduleStorage.Export

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Schedule_C1ScheduleStorage_Export_" data-uid="C1.Schedule.C1ScheduleStorage.Export*">Export Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Schedule_C1ScheduleStorage_Export_" data-uid="C1.Schedule.C1ScheduleStorage.Export*"></a>
<h4 id="C1_Schedule_C1ScheduleStorage_Export_System_String_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Export(System.String,C1.Schedule.FileFormatEnum)">Export(string, FileFormatEnum)</h4>
<div class="markdown level1 summary"><p>Exports the scheduler's data to a file in the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(string path, FileFormatEnum format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Export(path As String, format As FileFormatEnum)</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">path</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> containing the full path
(including the file name and extension) to export the scheduler's data to.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The <a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Schedule_C1ScheduleStorage_Export_" data-uid="C1.Schedule.C1ScheduleStorage.Export*"></a>
<h4 id="C1_Schedule_C1ScheduleStorage_Export_System_IO_Stream_C1_Schedule_FileFormatEnum_" data-uid="C1.Schedule.C1ScheduleStorage.Export(System.IO.Stream,C1.Schedule.FileFormatEnum)">Export(Stream, FileFormatEnum)</h4>
<div class="markdown level1 summary"><p>Exports the scheduler's data to a stream in the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(Stream stream, FileFormatEnum format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Export(stream As Stream, format As FileFormatEnum)</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> object which specifies
the stream into which the scheduler's data will be exported.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The <a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Schedule_C1ScheduleStorage_Export_" data-uid="C1.Schedule.C1ScheduleStorage.Export*"></a>
<h4 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)">Export(string, IList&lt;Appointment&gt;, FileFormatEnum)</h4>
<div class="markdown level1 summary"><p>Exports the appointments' data to a file in the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(string path, IList&lt;Appointment&gt; appointments, FileFormatEnum format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Export(path As String, appointments As IList(Of Appointment), format As FileFormatEnum)</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">path</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> containing the full path
(including the file name and extension) to export.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Schedule.Appointment.html">Appointment</a>&gt;</td>
      <td><span class="parametername">appointments</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> to be exported.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The <a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Schedule_C1ScheduleStorage_Export_" data-uid="C1.Schedule.C1ScheduleStorage.Export*"></a>
<h4 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)">Export(Stream, IList&lt;Appointment&gt;, FileFormatEnum)</h4>
<div class="markdown level1 summary"><p>Exports the appointments' data to a stream in the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Export(Stream stream, IList&lt;Appointment&gt; appointments, FileFormatEnum format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Export(stream As Stream, appointments As IList(Of Appointment), format As FileFormatEnum)</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> object which specifies
the stream into which the appointments's data will be exported.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Schedule.Appointment.html">Appointment</a>&gt;</td>
      <td><span class="parametername">appointments</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> to be exported.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The <a class="xref" href="C1.Schedule.FileFormatEnum.html">FileFormatEnum</a> value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
