# GrapeCity.Spreadsheet.INames.GetNames

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_INames_GetNames_" data-uid="GrapeCity.Spreadsheet.INames.GetNames*">GetNames Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_INames_GetNames_" data-uid="GrapeCity.Spreadsheet.INames.GetNames*"></a>
<h4 id="GrapeCity_Spreadsheet_INames_GetNames_GrapeCity_Spreadsheet_FilterOptions_GrapeCity_Spreadsheet_FilterScopes_System_Boolean_" data-uid="GrapeCity.Spreadsheet.INames.GetNames(GrapeCity.Spreadsheet.FilterOptions,GrapeCity.Spreadsheet.FilterScopes,System.Boolean)">GetNames(FilterOptions, FilterScopes, bool)</h4>
<div class="markdown level1 summary"><p>Gets all sorted defined names inside a specified worksheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IName[] GetNames(FilterOptions filterOption = FilterOptions.All, FilterScopes filterScope = FilterScopes.All, bool includeHidden = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function GetNames(Optional filterOption As FilterOptions = FilterOptions.All, Optional filterScope As FilterScopes = FilterScopes.All, Optional includeHidden As Boolean = False) As IName()</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.FilterOptions.html">FilterOptions</a></td>
      <td><span class="parametername">filterOption</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.FilterOptions.html">FilterOptions</a> value to filter defined names.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.FilterScopes.html">FilterScopes</a></td>
      <td><span class="parametername">filterScope</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.FilterScopes.html">FilterScopes</a> value to filter defined names' scope.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">includeHidden</span></td>
      <td><p>The value to filter hidden names.</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.IName.html">IName</a>[]</td>
      <td><p>A IName[] array represents all found defined names.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
