# GrapeCity.Spreadsheet.IRange.GetFullPrecedents

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IRange_GetFullPrecedents_" data-uid="GrapeCity.Spreadsheet.IRange.GetFullPrecedents*">GetFullPrecedents Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IRange_GetFullPrecedents_" data-uid="GrapeCity.Spreadsheet.IRange.GetFullPrecedents*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_GetFullPrecedents_System_Boolean_" data-uid="GrapeCity.Spreadsheet.IRange.GetFullPrecedents(System.Boolean)">GetFullPrecedents(bool)</h4>
<div class="markdown level1 summary"><p>Returns an array of <a class="xref" href="GrapeCity.Spreadsheet.IRange.html">IRange</a> object that represents all the precedents of a cell. This can be a multiple selection (a union of Range objects) if there's more than one precedent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IRange[] GetFullPrecedents(bool excludeUnlinkedWorksheet = true)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function GetFullPrecedents(Optional excludeUnlinkedWorksheet As Boolean = True) As IRange()</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.boolean">bool</a></td>
      <td><span class="parametername">excludeUnlinkedWorksheet</span></td>
      <td><p><code>true</code> if the precedents of unlinked worksheet will be excluded; otherwise, <code>false</code>. The default value is <code>true</code>.</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.IRange.html">IRange</a>[]</td>
      <td><p>The precedents.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_GetFullPrecedents_System_Boolean__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The method can trace remote references</p>
</div>
</div>
