# C1.WPF.Schedule.C1Scheduler.ExportCommand

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_WPF_Schedule_C1Scheduler_ExportCommand" data-uid="C1.WPF.Schedule.C1Scheduler.ExportCommand" class="text-break">ExportCommand Field
</h1>
<div class="markdown level0 summary"><p>Defines the command that exports Scheduler data to the file.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
<h6><strong>Assembly</strong>: C1.WPF.Schedule.dll</h6>
<h5 id="C1_WPF_Schedule_C1Scheduler_ExportCommand_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static readonly RoutedCommand ExportCommand</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared ReadOnly ExportCommand As RoutedCommand</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.routedcommand">RoutedCommand</a></td>
      <td>Defines the command that exports Scheduler data to the file.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_Schedule_C1Scheduler_ExportCommand_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This command opens &quot;Save File&quot; dialog and then exports data to file.</p>
<p>
Command parameter is one of the next values:
<ul><li><span class="term"></span>the <span class="xref">C1.Schedule.Appointment</span> for saving</li><li><span class="term"></span><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList&lt;T&gt;</a> for saving</li><li><span class="term">null</span>to export all Scheduler data</li></ul>

</div>
</div>
