# FarPoint.Excel.ExcelWarningList.CopyTo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Excel_ExcelWarningList_CopyTo_" data-uid="FarPoint.Excel.ExcelWarningList.CopyTo*">CopyTo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Excel_ExcelWarningList_CopyTo_" data-uid="FarPoint.Excel.ExcelWarningList.CopyTo*"></a>
<h4 id="FarPoint_Excel_ExcelWarningList_CopyTo_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Excel.ExcelWarningList.CopyTo(FarPoint.Excel.ExcelWarningList)">CopyTo(ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Copies the Excel file operation warning list to the specified ExcelWarningList object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void CopyTo(ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub CopyTo(warningList As ExcelWarningList)</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="FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>warning list (ExcelWarningList object) to which to copy the list</p>
</td>
    </tr>
  </tbody>
</table>
</div>
