# FarPoint.Win.Spread.SheetView.SaveXml

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_SaveXml_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml*">SaveXml Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_SaveXml_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveXml_System_IO_Stream_System_IO_Stream_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml(System.IO.Stream,System.IO.Stream)">SaveXml(Stream, Stream)</h4>
<div class="markdown level1 summary"><p>Saves the data on the sheet to the specified XML stream and
the schema to the specified schema stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveXml(Stream xmlStream, Stream schemaStream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveXml(xmlStream As Stream, schemaStream As Stream) As Boolean</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">xmlStream</span></td>
      <td><p>XML stream</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">schemaStream</span></td>
      <td><p>Schema stream</p>
</td>
    </tr>
  </tbody>
</table>
<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.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SheetView_SaveXml_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveXml_System_String_System_String_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml(System.String,System.String)">SaveXml(string, string)</h4>
<div class="markdown level1 summary"><p>Saves the data on the sheet to the specified XML file and
the schema to the specified schema file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveXml(string xmlFileName, string schemaFileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveXml(xmlFileName As String, schemaFileName As String) As Boolean</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">xmlFileName</span></td>
      <td><p>Path and name of XML file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">schemaFileName</span></td>
      <td><p>Path and name of schema file</p>
</td>
    </tr>
  </tbody>
</table>
<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.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SheetView_SaveXml_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveXml_System_IO_Stream_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml(System.IO.Stream)">SaveXml(Stream)</h4>
<div class="markdown level1 summary"><p>Saves the data on the sheet to the specified XML stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveXml(Stream xmlStream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveXml(xmlStream As Stream) As Boolean</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">xmlStream</span></td>
      <td><p>XML stream</p>
</td>
    </tr>
  </tbody>
</table>
<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.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SheetView_SaveXml_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveXml_System_String_" data-uid="FarPoint.Win.Spread.SheetView.SaveXml(System.String)">SaveXml(string)</h4>
<div class="markdown level1 summary"><p>Saves the data on the sheet to the specified XML file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveXml(string xmlFileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveXml(xmlFileName As String) As Boolean</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">xmlFileName</span></td>
      <td><p>Path and name of the XML file</p>
</td>
    </tr>
  </tbody>
</table>
<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.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
</div>
