# GrapeCity.Spreadsheet.Reference.Xor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Reference_Xor_" data-uid="GrapeCity.Spreadsheet.Reference.Xor*">Xor Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Reference_Xor_" data-uid="GrapeCity.Spreadsheet.Reference.Xor*"></a>
<h4 id="GrapeCity_Spreadsheet_Reference_Xor_GrapeCity_Spreadsheet_Reference_GrapeCity_Spreadsheet_Reference_" data-uid="GrapeCity.Spreadsheet.Reference.Xor(GrapeCity.Spreadsheet.Reference,GrapeCity.Spreadsheet.Reference)">Xor(Reference, Reference)</h4>
<div class="markdown level1 summary"><p>Computes the difference of two Reference. Difference of two Reference
can produce a maximum of four Reference.If the two Reference do not intersect
a zero-length array is returned.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Reference[] Xor(Reference rectA, Reference rectB)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function [Xor](rectA As Reference, rectB As Reference) As Reference()</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="GrapeCity.Spreadsheet.Reference.html">Reference</a></td>
      <td><span class="parametername">rectA</span></td>
      <td><p>first Reference</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Reference.html">Reference</a></td>
      <td><span class="parametername">rectB</span></td>
      <td><p>second Reference</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="GrapeCity.Spreadsheet.Reference.html">Reference</a>[]</td>
      <td><p>non-null array of References, with length zero to four</p>
</td>
    </tr>
  </tbody>
</table>
</div>
