# GrapeCity.Spreadsheet.INames.Item

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_INames_Item_" data-uid="GrapeCity.Spreadsheet.INames.Item*">this Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_INames_Item_" data-uid="GrapeCity.Spreadsheet.INames.Item*"></a>
<h4 id="GrapeCity_Spreadsheet_INames_Item_System_String_GrapeCity_Spreadsheet_IWorksheet_" data-uid="GrapeCity.Spreadsheet.INames.Item(System.String,GrapeCity.Spreadsheet.IWorksheet)">this[string, IWorksheet]</h4>
<div class="markdown level1 summary"><p>Gets the defined name by the specified name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IName this[string name, IWorksheet worksheet = null] { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">ReadOnly Default Property Item(name As String, worksheet As IWorksheet = Nothing) 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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>A string value indicates the name of the defined name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a></td>
      <td><span class="parametername">worksheet</span></td>
      <td><p>An object indicates what the defined name refers to.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="propertyValue">Property Value</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>An <a class="xref" href="GrapeCity.Spreadsheet.IName.html">IName</a> object contained by the collection.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
