# C1.Web.Mvc.Sheet.DefinedName

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Sheet_DefinedName" data-uid="C1.Web.Mvc.Sheet.DefinedName" class="text-break">DefinedName Class
</h1>
  <div class="markdown level0 summary"><p>Represents the Workbook Object Model Defined Name item definition.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">DefinedName</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Sheet.html">C1.Web.Mvc.Sheet</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.FlexSheet.dll</h6>
  <h5 id="C1_Web_Mvc_Sheet_DefinedName_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DefinedName</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DefinedName</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Sheet_DefinedName__ctor" data-uid="C1.Web.Mvc.Sheet.DefinedName.#ctor">
          <a class="xref" href="C1.Web.Mvc.Sheet.DefinedName.-ctor.html#C1_Web_Mvc_Sheet_DefinedName__ctor">DefinedName()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a defined name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Sheet_DefinedName_Name" data-uid="C1.Web.Mvc.Sheet.DefinedName.Name">
          <a class="xref" href="C1.Web.Mvc.Sheet.DefinedName.Name.html#C1_Web_Mvc_Sheet_DefinedName_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>The name of the defined name item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_DefinedName_SheetName" data-uid="C1.Web.Mvc.Sheet.DefinedName.SheetName">
          <a class="xref" href="C1.Web.Mvc.Sheet.DefinedName.SheetName.html#C1_Web_Mvc_Sheet_DefinedName_SheetName">SheetName</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates the defined name item works in which sheet.
If omitted, the defined name item works in workbook.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_DefinedName_Value" data-uid="C1.Web.Mvc.Sheet.DefinedName.Value">
          <a class="xref" href="C1.Web.Mvc.Sheet.DefinedName.Value.html#C1_Web_Mvc_Sheet_DefinedName_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>The value of the defined name item.
The value could be a formula, a string constant or a cell range.
For e.g. &quot;Sum(1, 2, 3)&quot;, &quot;1.2&quot;, &quot;&quot;test&quot;&quot; or &quot;sheet1!A1:B2&quot;.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
